Luke Smith Write today, wrong tomorrow

Moving obsolete methods to a partial class

I just had a sudden brain wave. I've been going through my code library at work tidying
stuff up and marking some methods as Obsolete,
but the thing about this is that it leaves obsolete methods in the classes cs file...yukky.
So my brain wave is to make use of partial
and move all obsolete methods out of the main class cs file and into a
myclass.obsolete.cs file.

comments powered by Disqus