Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Can we inherit static class in c#?

931


Explain publishers and subscribers in events.

892


What is void method?

889


What is the default value of decimal in c#?

855


What is the difference between finalize() and dispose()?

866


What is the difference between serialization and deserialization in c#?

947


What does firstordefault mean in c#?

898


How to use delegates with events?

943


update data in an xml file which resides in solution itself, using silverlight 4.0

1703


What is an escape sequence? Name some string escape sequences in c#.

871


What is type class in c#?

911


What is expression c#?

858


Why is lazy loading?

827


Is datetime nullable c#?

947


What is parsing? How to parse a date time string?

982