World.cs 411 B

123456789101112131415
  1. // Copyright (c) .NET Foundation. All rights reserved.
  2. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
  3. using System.Runtime.InteropServices;
  4. namespace Benchmarks.Data
  5. {
  6. [StructLayout(LayoutKind.Sequential, Size = 8)]
  7. public struct World
  8. {
  9. public int id { get; set; }
  10. public int randomNumber { get; set; }
  11. }
  12. }