Fundamentals Program/C#/Non-primitive data types Classes Topic 14 of 30 in C# Classes are the fundamental building blocks of object-oriented programming in C#. They define the structure and behavior of objects, encapsulating data and methods together. 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 PreviousStructs NextMethods All 48 topics in the Fundamentals Program