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
If I want to override a method one of class A and in class b then how do you declare?
What do you mean by object pooling?
Give an example of removing an element from the queue?
What is returned if you pass the value 12.34 to the parsefloat () function?
Is c# lazy thread safe?
What is difference between === and ==?
What are delegates in C#?
How do I format in c#?
What is difference between dictionary and list in c#?
Is it possible to have a static indexer in c#? Allowed in c#.
What is global asax in c#?
What is an object and a class?
What are most desktop applications written in?
What is console application with example?
How do you pronounce c#?