Fundamentals Program/C#/Non-primitive data types Structs Topic 13 of 30 in C# Structs are value types that can contain data members and function members, similar to classes but with important differences in behavior and usage. Read more on the blogMonoBehaviour vs C# Class vs Struct: Memory and PerformanceTutorials ยท Apr 2026 More in C#Primitive data typesAccessorsForeachForTypesIntFloatBoolcharValuesLiteralNon-primitive data typesStructsClassesMethodsFieldsData structuresArraysListsstringsControl FlowLoopsConditionalselse ifreturnElseifExpressions & OperatorsArithmeticAssignment PreviousNon-primitive data types NextClasses All 48 topics in the Fundamentals Program