Created
May 29, 2023 22:32
-
-
Save Blizzardo1/37e7c5738728c4a3be09093fec175b20 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static T Add<T>(T a, T b) where T : struct, IEquatable<T>, IComparable<T>, IConvertible | |
{ | |
return (dynamic)a + (dynamic)b; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment