what is the difference between passing a value object by
reference and a reference object by value?
Answer Posted / ashish diwakar
..........For above example..............
Well I skip to add .ToString in my above answer.
We can not pass Reference type objects directly to a method.
So to pass value of sb variable we need to use following
code:
Display(sb.ToString());
..........For above example..............
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Can you describe iuknown interface in short?
What is .cshtml file?
Is is possible to force garbage collector to run?
What is inheritance c#?
What is the syntax for calling an overloaded constructor within a constructor?
Is a games console a computer?
How many bytes is a long c#?
What tool we have to use to install assembli in gac folder.
What is xml serialization in c#?
What is fcl in c#?
What is asax file in c#?
What is system console writeline in c#?
What is a nullreferenceexception and how do I fix it?
Does google use c#?
Is php better than c#?