c# - Are we able to create an overload for system methods? -


I am using my own greatvolumnumber class for integer values ​​I There are several types of max methods for the types in the system.Math class. Can I be able to create a surcharge for this maximum method which is Does BigWholeNumber compare the examples?

I tried to create my own math class which comes from System.Math , but it says "seal Class' ".

Thank you in advance for your advice.

No, basically for the example methods, You can use extension methods to add overload. It is not possible for static methods.


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -