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

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -