Here is the list of all C# programs available in this blog. You can find basic level programs as well as advanced level programs. All of these programs have been categorised below. Click on the buttons inside the tabbed menu to explore those categories.
- Hello, World! program
- Addition, subtraction, multiplication and division
- Convert a character to ASCII value
- Convert ASCII value to a character
- Compute quotient and remainder
- Swap two variables without third variable
- Swap two variables using third variable
- Swap two variables using X-OR
- Fahrenheit to Centigrade conversion
- Centigrade to Fahrenheit conversion
- Simple interest
- Calculate percentage of a number
- Conversion between Kilograms and Grams
- Check vowel or consonant
- Check if a character is a digit
- Conversion between uppercase and lowercase letter
- Check if a number is positive or negative
- Check if a number is even or odd
- Find largest among three numbers
- Check if a number is a perfect square
- Check leap year
- Simple calculator
- Calculate profit and loss
- Roots of quadratic equation
- Find the letter grade of a student
- Find the age group
- Calculate income tax
- Display month according to input number
- Print natural numbers from 1 to n
- Print natural numbers using recursion
- Sum of first N natural numbers / Sum of series 1 + 2 + 3 + .. + N
- Compound interest
- Display N th fibonacci number
- Factorial of a number
- Display letters from A to Z
- Count palindromes between intervals
- Square pattern
- Rectangle pattern
- Rhombus pattern
- Half diamond pattern
- Diamond pattern
- Right triangle, Half pyramid pattern
- Full pyramid pattern
- Inverted full pyramid pattern
- Snake number pattern
- Spiral pattern
- Hollow rectangle pattern
- Hollow rhombus pattern
- Hollow diamond pattern
- Hollow pyramid pattern
- Floyd's triangle pattern
- Pascal's triangle pattern
- Find largest element
- Find smallest element
- Rotate an array
- Check if a number is even or odd
- Check equality of two matrices
- Matrix addition
- Matrix subtraction
- Rock paper scissors random approach
Basic
Decision making
Loop & Recursion
Pattern
Array
Bitwise operation
Matrix
Games
Basic
- Hello, World! Program
- Addition, subtraction, multiplication and division
- Convert a character to ASCII value
- Convert ASCII value to a character
- Compute quotient and remainder
- Swap two variables without third variable
- Swap two variables using third variable
- Swap two variables using X-OR
- Fahrenheit to Centigrade conversion
- Centigrade to Fahrenheit conversion
- Calculate simple interest
- Calculate percentage of a number
- Conversion between Kilograms and Grams
Decision making
- Check vowel or consonant
- Check if a character is a digit
- Conversion between uppercase and lowercase letter
- Check if a number is positive or negative
- Check if a number is even or odd
- Find largest among three numbers
- Check if a number is a perfect square
- Check leap year
- Simple calculator
- Calculate profit and loss
- Roots of quadratic equation
- Find the letter grade of a student
- Find the age group
- Calculate income tax
- Display month according to input number
Loop & Recursion
Pattern
- Square pattern
- Rectangle pattern
- Rhombus pattern
- Half diamond pattern
- Diamond pattern
- Right triangle, Half pyramid pattern
- Full pyramid pattern
- Inverted full pyramid pattern
- Snake number pattern
- Spiral pattern
- Hollow rectangle pattern
- Hollow rhombus pattern
- Hollow diamond pattern
- Hollow pyramid pattern
- Floyd's triangle pattern
- Pascal's triangle pattern