Answers for "covert int to long c#"

C#
0

c# convert long to int

// wraps around
int myIntValue = unchecked((int)myLongValue);

// throws OverflowException
Convert.ToInt32(myValue);
Posted by: Guest on August-28-2020

C# Answers by Framework

Browse Popular Code Answers by Language