Partial,Abstract and Sealed Classes

Posted by bharath312-19772 under C# on 12/15/2012 | Points: 10 | Views : 1425 | Status : [Member] | Replies : 2
What is partial,Abstaract and Sealed classes explain with examples?

A BHARATH KUMAR


Responses

Posted by: Sandeepmhatre on: 12/16/2012 [Member] Starter | Points: 25

Up
0
Down
refer this links

For abstact class

http://sandeepmhatre.blogspot.in/2012/12/abstract-class.html

For Sealed Class
http://sandeepmhatre.blogspot.in/2012/12/sealed-class_16.html

For partial Class

http://sandeepmhatre.blogspot.in/2012/12/partial-class.html

Sandeep M,
Software Developer
Follow me on :
http://sandeepmhatre.blogspot.in

bharath312-19772, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Nerdanalysis on: 12/17/2012 [Member] Starter | Points: 25

Up
0
Down
Patrial class:- when on a big project more where more than one developer work on a same class, we split the class by partial keyword. In other words, in one assembly we cannot have more than class by same name, but if we need to work more developers to work on one class than we put partial keywork.

Abstract class: these are the classes we cannot create instance of these classes. These class are used to serve the purpose of provided smilliar fields to drived classes.

Sealed class : if we dont want that our class can be inheated by any other class than we use the keyword sealed for that.

Let me know if you need working examples.

Happy coding
nerd

bharath312-19772, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response