Concrete classes definition with example in C#.Net


Concrete class is nothing but normal class. which is having all basic class features, like variables, methods, constructors, etc.

We can create an instance of the class in the other classes.

Example:

Class ExampleClass
{
private int a;
private int b;
public ExampleClass() //constructor
{
}
public string MyName(string name)
{
return name;
}
}

Share this post :

Post a Comment

Please give your valuable feedback on this post. You can submit any ASP.NET article here. We will post that article in this website by your name.

 
Support : Ranga Rajesh Kumar
Copyright © 2012. ASP.NET Examples - All Rights Reserved
Site Designed by Ranga Rajesh Kumar