using System;
/// <summary>
/// Creates a simple class
/// </summary>
public class App
{
// Use the [Ready] attribute to automaically
// run this method when the page is ready.
//[Ready]
public static void Main()
{
object v = (byte)3;
Console.WriteLine(v.GetType().FullName);
v = (uint)3;
Console.WriteLine(v.GetType().FullName);
v = (ushort)3;
Console.WriteLine(v.GetType().FullName);
v = (short)3;
Console.WriteLine(v.GetType().FullName);
}
}
See #1301 in Bridge. Dot Net Fiddle This code gives an incorrect result: