consulo-csharp
consulo-csharp copied to clipboard
Languages: C#
``` csharp class A { protected internal int x = 123; } class B : A { } class Test { public void test() { B b = new B();...
when using suggestion cast to double in following code snippet `int f = 420; double t =(double) f+5;` fatal ide error occur and even though it kinda is fatal error...
this works fine in visual studio with example input 4 2 37 3 45 1 46 4 30 output in vs is 232 in Consulo when I try to run...
double current = 0; current += 100000; current *=0.9; long testLong = 1234; testLong += 420; testLong /= 13; testLong++; Console.WriteLine(current); Console.WriteLine(testLong); int t = 13; t++; t+=406; Console.WriteLine(t); ...
https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/proposals/csharp-9.0/target-typed-new