Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C# Structs

Structs are value types, so they are stored on the stack.

Structs can have the same members as classes: fields, properties, constructors, methods.

Readonly Structs

Structs that are readonly have properties that can't be modified after initialised. And no methods inside the struct can modify those properties either. Much like a { get; init; }, if not, it is that.

About

C# structs program.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages