Page 1: Introduction to C#
C# is developed by Microsoft for .NET framework.
Page 2: Features
Object-Oriented, Type-safe language.
Page 3: Basic Structure
Main method entry point.
using System;
class P{
static void Main(){
[Link]('Hi');}}
Page 4: Data Types
int, float, string, bool.
Page 5: Variables
Store data values.
int x=10;
Page 6: Operators
Arithmetic, Logical operators.
Page 7: Conditional Statements
if-else, switch.
Page 8: Loops
for, while, foreach.
for(int i=0;i<5;i++){[Link](i);}
Page 9: Functions
Methods in C#.
Page 10: OOP
Encapsulation, Inheritance, Polymorphism.
Page 11: Exception Handling
try-catch-finally.
Page 12: .NET Framework
Used for Windows, Web apps.
Page 13: File Handling
Read and write files in C#.