Key Terms/Concepts
• Programming Language: A formal set of instructions that can be used to produce various kinds of output,
including software applications.
• Compiler: A specialized program that translates code written in a programming language into machine
language.
• Namespace: A container that holds a set of classes and other namespaces, used to organize code.
• Class: A blueprint for creating objects in object-oriented programming, encapsulating data and methods.
• Method: A function defined within a class that performs a specific action.
Key People
• Anders Hejlsberg: The lead architect of C# and a key figure in the development of the .NET Framework.
Fundamental Theories
• Object-Oriented Programming (OOP): A programming paradigm based on the concept of objects, which can
contain data and code to manipulate that data. Key principles include encapsulation, inheritance, and
polymorphism.
Key Programming Constructs
• If Statement: A conditional statement that executes a block of code if its condition evaluates to true.
• For Loop: A control structure that allows code to be executed repeatedly based on a condition.
• While Loop: A control structure that continues to execute a block of code as long as its condition is true.
• Switch Statement: A control structure that allows multi-way branching based on the value of a variable.
Facts to Memorize
• C# is a modern, general-purpose object-oriented programming language developed by Microsoft.
• The Main method is the entry point for all C# programs.
• C# is case sensitive.
• All statements must end with a semicolon (;).
• C# supports primitive data types: int, long, float, double, string, char, and bool.
• Constants are defined using the const keyword.
Reference Information
• C# keywords include: using, namespace, class, static, void, public, private, etc.
• Commonly used Console methods: [Link](), [Link](), [Link](), [Link]().
• Arithmetic operators: +, -, *, /, %, ++, --.
• Logical operators: && (AND), || (OR), ! (NOT).
CONCEPT DESCRIPTION EXAMPLE
Value Types Store data directly. Examples include Int age = 30;
int, float, char.
Reference Types Store references to the actual data.
Examples include arrays, classes.
For Loop Executes a block of code a specific For (int i = 0; I < 10; i++) {…}
number of times.
While Loop Execute a block of code as long as a while (condition) {..}
condition is true.
Do-While Loop Executes a block of code at least do {…} while (condition);
once, then continues while a
condition is true.