Click here to Skip to main content
15,897,968 members
Home / Discussions / C#
   

C#

 
GeneralRe: System.Net.Webexcpetion Pin
EliottA16-Feb-09 2:10
EliottA16-Feb-09 2:10 
GeneralRe: System.Net.Webexcpetion Pin
MamthaLalith16-Feb-09 2:15
MamthaLalith16-Feb-09 2:15 
GeneralRe: System.Net.Webexcpetion Pin
EliottA16-Feb-09 2:18
EliottA16-Feb-09 2:18 
GeneralRe: System.Net.Webexcpetion Pin
MamthaLalith16-Feb-09 2:21
MamthaLalith16-Feb-09 2:21 
GeneralRe: System.Net.Webexcpetion Pin
musefan16-Feb-09 2:22
musefan16-Feb-09 2:22 
GeneralRe: System.Net.Webexcpetion Pin
MamthaLalith16-Feb-09 2:26
MamthaLalith16-Feb-09 2:26 
JokeRe: System.Net.Webexcpetion Pin
musefan16-Feb-09 2:19
musefan16-Feb-09 2:19 
QuestionOOP's - sealed class Pin
sonj16-Feb-09 1:52
sonj16-Feb-09 1:52 
Hi
I have one sealed Class. In this class I have created an object and set the values. Now I want to use these values in button click event. How can I achieve this.
//General Info class
public class General
    {
        private string _name;
        private int _id;

        public General()
        { }
        public General(string Name,int ID)
        {
            _name = Name;
            _id = ID;
        }

        public string GetName
        {
            get { return _name; }           
        }
        public int GetID
        {
            get { return _id; }            
        }
    }


Please note that there is no way to change sealed class.
AnswerRe: OOP's - sealed class Pin
Calin Tatar16-Feb-09 1:58
Calin Tatar16-Feb-09 1:58 
AnswerRe: OOP's - sealed class Pin
musefan16-Feb-09 2:11
musefan16-Feb-09 2:11 
GeneralRe: OOP's - sealed class Pin
sonj16-Feb-09 17:06
sonj16-Feb-09 17:06 
AnswerRe: OOP's - sealed class Pin
Jon Rista16-Feb-09 6:28
Jon Rista16-Feb-09 6:28 
QuestionHow to find the position of a word Pin
komathyc16-Feb-09 1:39
komathyc16-Feb-09 1:39 
AnswerRe: How to find the position of a word [modified] Pin
Kristian Sixhøj16-Feb-09 1:42
Kristian Sixhøj16-Feb-09 1:42 
AnswerIndexOutOfRangeException Pin
Luc Pattyn16-Feb-09 2:50
sitebuilderLuc Pattyn16-Feb-09 2:50 
GeneralRe: IndexOutOfRangeException [modified] Pin
Kristian Sixhøj16-Feb-09 2:56
Kristian Sixhøj16-Feb-09 2:56 
AnswerRe: How to find the position of a word Pin
Calin Tatar16-Feb-09 1:43
Calin Tatar16-Feb-09 1:43 
AnswerRe: How to find the position of a word Pin
musefan16-Feb-09 2:25
musefan16-Feb-09 2:25 
QuestionAdd two zéro after a comma Pin
abbd16-Feb-09 1:07
abbd16-Feb-09 1:07 
GeneralRe: Add two zéro after a comma Pin
Kristian Sixhøj16-Feb-09 1:14
Kristian Sixhøj16-Feb-09 1:14 
AnswerRe: Add two zéro after a comma Pin
musefan16-Feb-09 1:14
musefan16-Feb-09 1:14 
GeneralRe: Add two zéro after a comma Pin
Pete O'Hanlon16-Feb-09 1:34
mvePete O'Hanlon16-Feb-09 1:34 
GeneralRe: Add two zéro after a comma Pin
musefan16-Feb-09 1:45
musefan16-Feb-09 1:45 
GeneralRe: Add two zéro after a comma Pin
Tony Pottier16-Feb-09 4:22
Tony Pottier16-Feb-09 4:22 
GeneralRe: Add two zéro after a comma Pin
musefan16-Feb-09 5:36
musefan16-Feb-09 5:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.