String Concatenation
String concatenation allows you to combine smaller literal strings and variables into a single string.
What is String Interpolation
An interpolation expression is written inside curly braces { }, and the string must be prefixed with the $ symbol.
Casting in C#
Casting is a type of data conversion that tells the compiler to temporarily treat a value as another data type.
Order of Operations
Just like we use BODMAS in mathematics, C# follows an order of operations known as PEMDAS:
Parentheses
Exponents
Multiplication
Division
Addition
Subtraction




Top comments (0)