Win Surprise Gifts!!!
Top 5 Contributors of the Month
Post New Question
Subscribe to Forum
What is an Object and Value?
April 21, 2011
what is an object?
what is a value?
what is the difference between object and value?
Thanks & regards
Posted Date: April 21, 2011 Points: 20
Object is just an instance of a class. It has properties and behaviours.
Posted Date: April 22, 2011 Points: 20
The object type is an alias for Object in the .NET Framework. In the unified type system of C#, all types, predefined and user-defined, reference types and value types, inherit directly or indirectly from Object. You can assign values of any type to variables of type object. When a variable of a value type is converted to object, it is said to be boxed. When a variable of type object is converted to a value type, it is said to be unboxed. For more information, see Boxing and Unboxing.
following example see:
public int i = 10;
static void Main()
a = 1; // an example of boxing
a = new SampleClass();
classRef = (SampleClass)a;
Posted Date: April 25, 2011 Points: 20
Please Follow Link it will help ful
Thanks And Regards.
To post reply
Related Questions Related Questions
Error in Web Setup Project while using Installer Class aError in Web Setup Project while using Installer Class and Custom Actions "Object reference not set to an instance of an object"nd Custom Actions "Object reference not set to an instance
What is Object pooling in ASP.NET.
what are methods of response object?
creation of object
How to send Flash object to back of other object
To drop an instanse of an object?
How to drag and move an object using silverlight?
What is object pooling?
Calling Sharepoint2010 object model code from vs 2008 .net
How can you automatically generate interface for the remotable object in .NET with Microsoft tools
Latest Forum Questions From The Same Category
Mail is working but I want send two excel file to each different person
how to display child nodes with headers and keeping the child nodes in a table
In DataGrid I have Two Dropdownlist, One in Header template and Item Template
Display data directly from database table to PDF using stored procedures in asp.net C#
How to install and use Dev Express ?
Dialogbox Custom Control
Custom Control in Winforms
I just started learning c#.net console application
How to read csv file which have many special character and tabs?
USSD using AT COMMAND
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more
Quick Links For Forum Categories:
Hall of Fame
Terms of Service
Tell A Friend