C# and Partial Classes

With .NET 2.0, Microsoft introduced Partial Classes which allows class definitions to span multiple files. The only use I had for it was to add a new method to the System.Math class. But that’s not possible. Why didn’t Microsoft make it so that we could augment core .NET classes with new methods like in Ruby?

One Response to “C# and Partial Classes”

  1. January 31st, 2018 | 7:39 pm

    Hi. I like your method very much. Very good fixations. I hope you succeed.

Leave a reply