[go: up one dir, main page]

0% found this document useful (0 votes)
27 views3 pages

C# Programs

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views3 pages

C# Programs

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Simple C# Programs

1. Hello World Program in C#


2. Program to Check Whether a Given Number is Even or Odd
3. Program to Find the Sum of Even and Odd Numbers
4. program to Check Whether a Number is Positive or Negative
5. program to Find the Largest Number Among Three Numbers
6. Program to Swap Two Numbers
7. Program to Find the Number of Integers Divisible by 5
8. Program to Check if Two Numbers are Equal
9. Program to Find Sum of Digits of a Number
10. Program to Find Sum of Digits of a Number using Recursion
11. Program to Increment by 1 to all the Digits of a Given Integer
12. Program that Takes Input as 2323 and Gives Output as 2332
13. Program to Find the Sum of Each Row and Column of a Matrix
14. Program to Print Multiplication Table
15. Program to Read a Grade and Display the Equivalent Description
16. Program to Input 3 Arguments and Operate Appropriately on the Numbers
17. Program to Count the Number of Vowels and Consonants in a Sentence
18. Program to Count No of Lines, Blank Lines, and Comments in the Program
19. Program to Convert Lowercase Characters by Uppercase and Vice-Versa
20. Program to Accept the Height of a Person & Categorize as Taller, Dwarf & Average
21. Program to Print Environment Variables
22. Program to Print the Program Name and All its Arguments
C# Programs on Numbers

1. Program to Find Prime Numbers in a Given Range


2. Program to Check Prime Number
3. Program to Check whether a Number is Prime or Not using Recursion
4. Program to Check Whether a Given Number is Perfect Number
5. Strong Number Program in C
6. Program to Check Armstrong Number
7. Program to Print Armstrong Number between 1 to 1000
8. Program to Find Nth Armstrong Number
9. Program to Find Sum of First N Natural Numbers
10. Program to Find Sum of Natural Numbers using Recursion
11. Program to Find the Sum of First 50 Natural Numbers using For Loop
12. Program to Reverse a Number
13. Program to Reverse a Number and Check if it is a Palindrome
14. Program to Reverse a Number using Recursion
15. Program to Add Two Numbers
16. Program to Add Two Binary Numbers
17. Program to Multiply Two Binary Numbers

C# Programs on Date, Time & Year

1. Leap Year Program in C#


2. Program to Extract Last Two Digits of a Given Year
3. Program to Convert Time from 12 Hour to 24 Hour Format
4. Program to Convert Days into Years, Months and Days

Factorial & Fibonacci Programs in C#

1. Fibonacci Series Program in C#


2. Program to Find First N Fibonacci Numbers
3. Program to Find Nth Fibonacci Number using Recursion
4. Program to Compute First N Fibonacci Numbers using Command Line Arguments
5. Program to Generate Fibonacci Series using Command Line Argument
6. Program to Find the Factorial of a Number
7. Program to Find the Factorial of a Number using Recursion
Pattern Programs in C#

1. Program to Print Diamond Pattern


2. Program to Print Floyd’s Triangle
3. Star Pattern Programs in C#
4. Pyramid Patterns in C#

C# Programs on Array

1. Program to Find the Number of Elements in an Array


2. program to Delete an Element from an Array
3. Program to Find Sum of Array Elements using Pointer
4. Program to Print all Non Repeated Elements in an Array
5. Program to Cyclically Permute the Elements of an Array
6. Program to Find Missing Numbers in Array
7. Program to Find Union and Intersection of Two Arrays
8. Program to Split the Array and Add First Part to the End
9. Program to Implement Bit Array
10. Program to Implement Variable Length Array

You might also like