We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow the constraints on a type parameter to include number or to specify each number type with a comma delimiter.
number
number type
void Test<T>() where T : number
or
void Test<T>() where T : int,decimal,float,double,long etc...
void Test<T>() where T : int,decimal,float,double,long
The text was updated successfully, but these errors were encountered:
Dup of #3391, #3255
Related: #2147, #8986
Sorry, something went wrong.
No branches or pull requests
Allow the constraints on a type parameter to include
number
or to specify eachnumber type
with a comma delimiter.void Test<T>() where T : number
or
void Test<T>() where T : int,decimal,float,double,long
etc...The text was updated successfully, but these errors were encountered: