public struct MyStruct

      Csharp language logo
      Creates a struct

      C# recipes

      The following code snippet declares a public struct named MyStruct. A public struct is a type that can be accessed by any other code in your program. The MyStruct structure has only one member, which is an int.

      Shortcut: struct


        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.