c# - Are we able to create an overload for system methods? -
I am using my own I tried to create my own Thank you in advance for your advice. greatvolumnumber
class for integer values I There are several types of
class. Can I be able to create a surcharge for this max
methods for the types in the system.Math maximum
method which is Does BigWholeNumber compare the examples?
math
class which comes from System.Math
, but it says "seal Class' "
.
No, basically for the example methods, You can use extension methods to add overload. It is not possible for static methods.
Comments
Post a Comment