+ 1
Solve below snippet
using System; public class Program { public static void Main(string[] args) { int val = (byte)+(char)-(int)+(long)-2; Console.WriteLine(val); } }
1 Antwort
0
well you are doing some castings and the result is "2".
The code runs:
https://code.sololearn.com/cVz7f526Id73/#cs