There are classes that are not intended to be created by the user, only
methods from the same library can internally create them and return an
instance. These classes are refered to as noncreatable classes.
There are numerous examples of these kind of classes in the framework.
I was trying to look for a good definition but was unable to find one, so
take the above explanation as a starting point and maybe somebody else will
post a more detailed explanation
first of all thanks for reply i know that sqlcommand's executereader method give the instance of sqldatareader but why we can not make it directly and i know that you can not make a instance of the class
1.it should be abstract
2.it have private constrcutor.
what can be the possibilty try to find out n share with us
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.