static void Main(string[] args) { if (IntPtr.Size != 8) { throw new InvalidOperationException("must run in 64 bits"); } var map = new ItemRunner(); map.UpdateItem(0, 10); }
static int Main(string[] args) { var map = new ItemRunner(); s_res = 0; map.UpdateItem(0, 10); if (s_res == 300) { Console.WriteLine("Passed"); return(100); } else { Console.WriteLine("Failed"); return(101); } }