can we create object of partial class
-
can we create object of partial class
This code was posted by me...
-
can we create object of partial class
This code was posted by me...
-
can we create object of partial class
This code was posted by me...
Yes but it will create an instance of all parts of the class (if that makes sense) and not just one of the partial implementations.
-
can we create object of partial class
This code was posted by me...
What exactly do you mean? The
partial
keyword means nothing but: the source code for a certain class can be found in more than one ASCII file. It's all about text... So a partial class is just another class, there is nothing like 'partial' in the IL code that the compiler generates. And of course you can instantiate a normal class... Regards Thomaswww.thomas-weller.de Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Programmer - an organism that turns coffee into software. -
can we create object of partial class
This code was posted by me...
The
partial
keyword is just a hint to the compiler. Once the code is compiled, it is no longer partial.