.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month

Home >> Code Snippets >> OOPS >> Post New Resource Bookmark and Share   

 Subscribe to Code Snippets

Refernce types

Posted By:Vinodh       Posted Date: September 27, 2011    Points: 25    Category: OOPS    URL: http://www.dotnetspark.com  

Code snippet which justifies that objects are of reference type

he value of o2 changes dynamically when o1 is changed.

 Run the console project and see the result of object o2:


Further Readings:


No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More code samples in C#, ASP.Net, Vb.Net and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend