Fundamentals Program/C#/Control Flow/Conditionals if Topic 27 of 30 in C# The if statement is a fundamental control structure that allows your program to make decisions based on conditions. It executes code only when a specified condition is true. More in C#Primitive data typesAccessorsForeachForTypesIntFloatBoolcharValuesLiteralNon-primitive data typesStructsClassesMethodsFieldsData structuresArraysListsstringsControl FlowLoopsConditionalselse ifreturnElseifExpressions & OperatorsArithmeticAssignment PreviousElse NextExpressions & Operators All 48 topics in the Fundamentals Program