Part 2- Class and object in C# | Oops Tutorials in C# | Oops Concept

 

Classes in C# 1.Class is the main part of Oops programming, it’s a blueprint of an object. 2.Classes contain the variable ,methods to perform the operations. 3.The default accessibility of a class is internal. 4.Private is the default accessibility of class members. Object in C# •An object is a combination of related variable and methods. •An object is an instance of a class“ •A class will not occupy any memory space, hen an object is created without the new operator, memory will not be allocated in the heap,


http://www.dotnetoffice.com/ Support: https://www.buymeacoffee.com/theDotNetOffice Facebook: https://www.facebook.com/TheDotNetOffice Twitter: https://twitter.com/thedotnetoffice #OopsConcept #Oops #OopsTutorials




Share this

Related Posts

Previous
Next Post »