Welcome to the Introduction to C# Programming repository! This repository contains answers and resources for Units 1 to 14, covering various topics ranging from writing your first C# program to advanced concepts like exception handling and file operations.
- Unit 1: A First Program Using C#
- Unit 2: Using Data
- Unit 4: Making Decisions
- Unit 5: Looping
- Unit 6: Using Arrays
- Unit 7: Using Methods
- Unit 8: Advanced Method Concepts
- Unit 9: Classes and Objects
- Unit 10: Intro to Inheritance
- Unit 11: Exception Handling
- Unit 14: Files & Streams
- Key Concepts: Writing and running a simple C# program, understanding the structure of
Main
method.
- Key Concepts: Primitive data types, type conversion, and constants in C#.
- Key Concepts:
if
,else
,switch
statements for conditional logic.
- Key Concepts:
for
,while
,do-while
loops for repeated execution.
- Key Concepts: Declaring, initializing, and accessing arrays in C#.
- Key Concepts: Creating methods, passing parameters, and returning values.
- Key Concepts: Overloading methods, optional parameters, and recursion.
- Key Concepts: Defining classes, creating objects, and using constructors.
- Key Concepts: Base classes, derived classes, and overriding methods.
- Key Concepts:
try-catch
blocks,finally
keyword, and throwing exceptions.
- Key Concepts: Reading from and writing to files using streams in C#.
Feel free to contribute to this repository by adding more answers or enhancing existing ones.