Click here to Skip to main content
16,004,761 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to send a file by SMTP or POP3 Pin
Amin Diary15-Oct-07 22:31
Amin Diary15-Oct-07 22:31 
GeneralRe: how to send a file by SMTP or POP3 Pin
Pete O'Hanlon15-Oct-07 23:09
mvePete O'Hanlon15-Oct-07 23:09 
GeneralRe: how to send a file by SMTP or POP3 Pin
Christian Graus15-Oct-07 23:22
protectorChristian Graus15-Oct-07 23:22 
GeneralRe: how to send a file by SMTP or POP3 Pin
Pete O'Hanlon15-Oct-07 23:27
mvePete O'Hanlon15-Oct-07 23:27 
GeneralRe: how to send a file by SMTP or POP3 Pin
Christian Graus16-Oct-07 0:01
protectorChristian Graus16-Oct-07 0:01 
AnswerRe: how to send a file by SMTP or POP3 Pin
kkun15-Oct-07 23:17
kkun15-Oct-07 23:17 
Questionhow does wrapper class works? Pin
cyn815-Oct-07 21:56
cyn815-Oct-07 21:56 
AnswerRe: how does wrapper class works? Pin
Chaitanya Joshi15-Oct-07 22:15
Chaitanya Joshi15-Oct-07 22:15 
Wrapper class is an avtivity of migrating non OO types in languages in OO types i.e. in case of C# from basic value types (excepting structs, enums) to class types.

If this is somewhat difficult to consume consider following example.

Say you have one 'int' value which you want to wrap. So you would write a class like:

public class Integer<br />
{<br />
    private int var;<br />
<br />
    public Integer(int v)<br />
    {<br />
        this.var = v;<br />
    }<br />
<br />
    public get(){...}<br />
    public set(){...}<br />
}


So now you have wrapped a simple integer into a class Integer which will be an OO type. Fortunately they are directly available in C# libraries.

Now a millon dollar question. What is use of this??

See, when you are going to deal with something which requires complete OO types e.g. object serialization, remoting you need this concept. As the complete manifest information is required in order to perform the activity.
That is it.

Chaitanya Joshi
AnswerRe: how does wrapper class works? Pin
Christian Graus15-Oct-07 22:30
protectorChristian Graus15-Oct-07 22:30 
AnswerRe: how does wrapper class works? Pin
il_masacratore15-Oct-07 22:43
il_masacratore15-Oct-07 22:43 
Questionstatic function or variable Pin
Sonia Gupta15-Oct-07 21:36
Sonia Gupta15-Oct-07 21:36 
AnswerRe: static function or variable Pin
Giorgi Dalakishvili15-Oct-07 21:44
mentorGiorgi Dalakishvili15-Oct-07 21:44 
AnswerRe: static function or variable Pin
Andrei Ungureanu15-Oct-07 21:44
Andrei Ungureanu15-Oct-07 21:44 
GeneralRe: static function or variable Pin
Sonia Gupta15-Oct-07 21:50
Sonia Gupta15-Oct-07 21:50 
Questioncomparing databases and update Pin
Narayana Ayyagari15-Oct-07 21:35
Narayana Ayyagari15-Oct-07 21:35 
AnswerRe: comparing databases and update Pin
leppie16-Oct-07 2:40
leppie16-Oct-07 2:40 
Questionsimple question Pin
Trustapple15-Oct-07 21:34
Trustapple15-Oct-07 21:34 
AnswerRe: simple question Pin
Andrei Ungureanu15-Oct-07 21:39
Andrei Ungureanu15-Oct-07 21:39 
AnswerRe: simple question Pin
Sandeep Kumar16-Oct-07 0:48
Sandeep Kumar16-Oct-07 0:48 
QuestionMAPI Programming Pin
M. J. Jaya Chitra15-Oct-07 21:29
M. J. Jaya Chitra15-Oct-07 21:29 
AnswerRe: MAPI Programming Pin
Andrei Ungureanu15-Oct-07 21:35
Andrei Ungureanu15-Oct-07 21:35 
QuestionI need help Pin
Ehsan_MF15-Oct-07 21:16
Ehsan_MF15-Oct-07 21:16 
AnswerRe: I need help Pin
Nissim Salomon15-Oct-07 22:21
Nissim Salomon15-Oct-07 22:21 
AnswerRe: I need help Pin
Guffa15-Oct-07 22:35
Guffa15-Oct-07 22:35 
QuestionUnable to open comport3 Pin
Srinu.D15-Oct-07 21:15
Srinu.D15-Oct-07 21:15 

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.