Share Link
Copied to clipboard
Embed on Your Page
Copied to clipboard
We Stand with Ukraine
5. Write a C# Sharp program to swap two numbers. Test Data: by luys952
Converted the Boolean value True to the Int16 value 1.
Converted the Int32 value -12 to the Int16 value -12.
Converted the Int32 value 163 to the Int16 value 163.
Converted the Int32 value 935 to the Int16 value 935.
Converted the Char value x to the Int16 value 120.
No conversion to an Int16 exists for the DateTime value 5/12/2009 12:00:00 AM.
Converted the String value 104 to the Int16 value 104.
The String value 103.0 is not in a recognizable format.
Converted the String value -1 to the Int16 value -1.
The String value 1.00e2 is not in a recognizable format.
The String value One is not in a recognizable format.
Converted the Double value 100 to the Int16 value 100.
Cached Result
Last Run: 5:13:33 pm
Compile: 0.267s
Execute: 0.032s
Memory: 441.16kb
CPU: 0.125s