Hi,
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
--
Ignacio Machin
machin AT laceupsolutions com
<prabhat tiwariwrote in message
news:%2******************@TK2MSFTNGP04.phx.gbl...
as sqldatareader is a class so why we can not create object of that class
directly using new keyword.