± ±èÀçȲ Aug 31, 2003 #1 Why does follwing code generates the error..? ulong a = 3; int b = 15; Console.WriteLine(a | b);
J Joe Mayo Aug 31, 2003 #2 There isn't an implicit conversion between int and ulong. Therefore, you have to cast the int to ulong. Console.WriteLine(a | (ulong)b); Joe
There isn't an implicit conversion between int and ulong. Therefore, you have to cast the int to ulong. Console.WriteLine(a | (ulong)b); Joe