Click here to Skip to main content
15,923,142 members
Home / Discussions / C#
   

C#

 
AnswerRe: Message Send Pin
Malcolm Smart29-Oct-07 22:04
Malcolm Smart29-Oct-07 22:04 
QuestionRe: Message Send Pin
Andrei Ungureanu29-Oct-07 22:24
Andrei Ungureanu29-Oct-07 22:24 
AnswerMessage Send Pin
SreejithAchutan29-Oct-07 22:36
SreejithAchutan29-Oct-07 22:36 
GeneralRe: Message Send Pin
Andrei Ungureanu29-Oct-07 22:42
Andrei Ungureanu29-Oct-07 22:42 
AnswerRe: Message Send Pin
Vasudevan Deepak Kumar30-Oct-07 0:37
Vasudevan Deepak Kumar30-Oct-07 0:37 
QuestionEnumerating collections using TypeDescriptors Pin
Alan Seedhouse29-Oct-07 21:51
professionalAlan Seedhouse29-Oct-07 21:51 
Questionboxing and unboxing creating confusion Pin
Sonia Gupta29-Oct-07 21:30
Sonia Gupta29-Oct-07 21:30 
AnswerRe: boxing and unboxing creating confusion Pin
Malcolm Smart29-Oct-07 22:12
Malcolm Smart29-Oct-07 22:12 
Sonia Gupta wrote:
class a
{
public void getdata()
{
}
}
class b
{
public void getdata()
{
}
}
main()
{
a aa;
b bb;
bb *ptr;
ptr = &bb;
ptr = &aa;
ptr->getdata();//class a getdata function
}
i was trying to call the function of class a though the object of class b.
can i do this thing using the boxing and unboxing?





Boxing and unboxing relates to linking value and reference types. It has nothing to do with pointers and references. I would take a wild guess and say you've been on some C++ sites, or talked to a C++ dev from the code above.

I think you have had a few suggestions from others here and I reiterate : GET A C# BOOK AND READ IT. Your questions are pointless, you never follow up the answers, you NEVER show any appreciation whatsoever. You just post another pointless question.

Please give us the decency of an answer to this question :-

What did you think the code you pasted above would do, or what it means? It doesn't even come anywhere near close to compiling in C#.

"More functions should disregard input values and just return 12. It would make life easier." - comment posted on WTF


"This time yesterday, I still had 24 hours to meet the deadline I've just missed today."

GeneralRe: boxing and unboxing creating confusion Pin
Sonia Gupta29-Oct-07 22:19
Sonia Gupta29-Oct-07 22:19 
GeneralRe: boxing and unboxing creating confusion Pin
Malcolm Smart29-Oct-07 22:27
Malcolm Smart29-Oct-07 22:27 
GeneralRe: boxing and unboxing creating confusion Pin
Andrei Ungureanu29-Oct-07 22:31
Andrei Ungureanu29-Oct-07 22:31 
AnswerRe: boxing and unboxing creating confusion Pin
Christian Graus29-Oct-07 23:12
protectorChristian Graus29-Oct-07 23:12 
Questioncharacter replace Pin
pavya_Cool29-Oct-07 21:29
pavya_Cool29-Oct-07 21:29 
AnswerRe: character replace Pin
Giorgi Dalakishvili29-Oct-07 21:31
mentorGiorgi Dalakishvili29-Oct-07 21:31 
GeneralRe: character replace Pin
pavya_Cool29-Oct-07 21:40
pavya_Cool29-Oct-07 21:40 
GeneralRe: character replace Pin
Giorgi Dalakishvili29-Oct-07 21:42
mentorGiorgi Dalakishvili29-Oct-07 21:42 
QuestionAutomatic Number Plate Recognition Pin
dims1229-Oct-07 21:09
dims1229-Oct-07 21:09 
AnswerRe: Automatic Number Plate Recognition Pin
Colin Angus Mackay30-Oct-07 1:16
Colin Angus Mackay30-Oct-07 1:16 
AnswerRe: Automatic Number Plate Recognition Pin
zain7868-Feb-10 0:22
zain7868-Feb-10 0:22 
QuestionRun my Application on client side Pin
w20929-Oct-07 20:19
w20929-Oct-07 20:19 
AnswerRe: Run my Application on client side Pin
N a v a n e e t h29-Oct-07 20:31
N a v a n e e t h29-Oct-07 20:31 
GeneralRe: Run my Application on client side Pin
w20929-Oct-07 20:35
w20929-Oct-07 20:35 
GeneralRe: Run my Application on client side Pin
N a v a n e e t h29-Oct-07 21:11
N a v a n e e t h29-Oct-07 21:11 
Questiondrop down list post back refreshes to default state. How to prevent this? Pin
humblepgmr29-Oct-07 19:18
humblepgmr29-Oct-07 19:18 
AnswerRe: drop down list post back refreshes to default state. How to prevent this? Pin
sujithkumarsl29-Oct-07 19:23
sujithkumarsl29-Oct-07 19:23 

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.