How to create class in c#.net?
Posted by Gopal on 15 February, 2009
No comments yet
This item was filled under [ Interview Questions ]
Class having the structure like c++ and java in c#.net and microsoft adding some functionality for class. the structure of class is below.
class class_name
{
//here we can declare members.
public | private | protected | protected internal member_name;
class_name()// this called constructor.
{
//here we can assign values for members.
member_name=values;
}
//here we can declare member function.
public | private | protected | [...]