-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
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
[Proposal] bigint alias #11993
Comments
@asibahi: I totally agree. I also would like to propose some kind of
|
@Unknown6656 The
F# doesn't have implicit casting from |
Very interesting proposal. |
Shouldn't it be |
Could cause confusion for sql server |
@aluanhaddad : Well if it were @BrettJacobitz : I (personally) do not think so.... |
How about including |
I would like to see both bigint and complex in c#. Very nice.
Could it be possible? What is the literal if we use only one part? |
@gordanr It's almost possible already. Assuming this simple type: static class ComplexConstants
{
public static readonly Complex i = Complex.ImaginaryOne;
} And this using static ComplexConstants; You can write: Complex z = 2.3 + 5.7*i;
Complex z = 5.7*i; |
@svick, This is really cool piece of code. Look obvious, but I didn't know that trick. Thank you very much. I am not sure if 2.3 + 5.7*i is compile time constant. It is personal opinion, but I think that notation without '*' could be more appropriate. |
Issue moved to dotnet/csharplang #805 via ZenHub |
In F#, there is a language-wide alias for
System.Numerics.BigInteger
, which isbigint
.Does this make sense to include in C# at a language level?
The text was updated successfully, but these errors were encountered: