c# - Using partial classes -
In case of memory, performance etc., there is an overhead using partial classes?
If we can partly identify the class that the class was partial or the reflector was not used
No They are compiled for the same IL as they were not partial. It's a purely compile-time-CLR does not even know that they were sometimes partial.
Note that has been introduced in C # 3, the method is not emitted in IL, as long as it does not apply to any one file. Both calls and announcements are taken away by the compiler.
It is possible that this will slow down the compiler a susceptible part of the millisecond, of course :)
Comments
Post a Comment