C# fundamentals
C# Fundamentals Well comming back to c# todays post is about to clear the concept about the basic of c# that is about the class and data members OOPS concepts for c#:- All data members are allocated in heap. The refrence of the object we create are stored in Stack. To declare the object and to instantiate are two different things By just declaring the object dosent make the utilization of memory that is no class variables are allocated in heap. Just by declaring the object we are creating the refrence . i.e if we have class abc than, abc a; dosent make the members occupy memory in heap, But by abc a=new abc(); this gives instantiation to object what this statement actually means..? This statement means that by writing new keyword we instantiate the object and...