struct


Snippet Details

Shortcut
struct7
Description
Code snippet for a readonly struct with the [StructLayout(Auto)] attribute
Language
csharp
Types
Expansion, SurroundsWith
Author
Fons Sonnemans
Upload on
9/25/2018 1:21:11 PM
Downloads
38

Declarations

ID ToolTip Default
name Struct name MyStruct

Code Output

        [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Auto)]
      readonly struct $name$
	{
		$selected$$end$
	}
    

Download Add to .VSIX Package


comments powered by Disqus

Extension Package

No snippets are added


Languages