C# Program List
C# Program List
Write a Employee, Student, Professor classes which extends base class to demonstrate the
10
inheritance concept
Write a area() to found the area of circle, rectangle, square to demonstrate runtime
11
polymorphishm
Write a program to demonstate the constructor and destructor.
- Empty constructor - should say "Hi All"
12 - parameterized constructor - should say "Hi XXXX", here XXX is the name
- Destructor - Should say "Bye XXXX".
Write a simple program to demonstrate delegate, program should consist the methods are
add, substract, multiplication
Order - Employee
21
- Junior employee
- Senior employee
- Most Senior employee
example : input is 3
23 1 2 3
1 1 2 3
2 2 4 6
3 3 6 9
Write a sample program by using Sealed Class and understand the access of the class and
24
uses
Write a sample program by using static Class and understand the uses, advantages and
25
disadvantaged of it
Write a program to get the last word from the given string
26 E.g. Input: FIME India
Output: India
Write a program to merge three string.
Str1=Welcome
27
Str2=hello
Str3=Orange
Write a program that asks the user’s name, and then greets the user by name. Before
28 outputting the user’s name, convert it to upper case letters. For example, if the user’s name
is Fred, then the program should respond “Hello, FRED, nice to meet you!”.
To “capitalize” a string means to change the first letter of each word in the string to upper
29 case (if it is not already upper case). For example, a capitalized version of “Now is the time
to act!” is “Now Is The Time To Act!”.
Write a program to delete characters from a string. Method Name :
30 removeAllOccurrences(String str, char ch) Ex : removeAllOccurrences("---0---", '-')
returns "0"
Write a program to remove the doubled letters in the given string.
31 all inputs are small characters.
Ex: removeDoubledLetters('tresidder') returns 'tresider'
Write a program to get all the names separately and printed line by line
E.g. Input: "APPLE, BLACKBERRY, COMPUTER, DEFAULT,
EMULATOR,FUNCTION"
Output : APPLE
32 BLACKBERRY
COMPUTER
DEFAULT
EMULATOR
FUNCTION
Write a program that asks user to enter list of names until users enter blank line. Print the
37
unique names.
Create a Student class with name, standard. Group the students by class. Display the
38 students name based on user input. If user enters 1, it should display 1st standard student
names.
39 Write a sample programs for printing 1 to 100 number. Using Threads
Write a prorgram to execute Threads t1,t2,t3,t4 should print in the order without using
40
priority
41 Write a program to print "Welcome" message for every 1 minutes
42 Write a program to read a file and print each line in reverse order in a new file
Write a program that print the multiple of '5' based on the number send by user. Create two
threads & start two thread. For example: Thread t1 pass "5" & Thread t2 pass "100"
output: 5
10
15
20
43
25
100
200
300
400
500 Thread concept
44 Write a program to read and write excel, based on the row and column number
30
20
15
40
10
30
10
45
45
30
30
30
45
30
30
60
60
45
90
45
45
45
30
30
20
15
30
30
30
25
25
30
30
45
60
30
45
30
30
30
30
60
60
60
High
Low
Medium
Sl.No Exercises Session
Create a page which should have top, bottom, centre, left and right
1 WPF
contents in seperated view
2 Demonstrate calculator function using User Control WPF
3 Read the excel file and display it in the Grid WPF
4 Directory listing using Tree View control WPF
5 Image resizing using slider and binding concept WPF
6 Write one sample program to demonstrate Property Trigger WPF
Create a simple student page to store and retrive using JSON
7 WPF
Serialization and Deserialization
8 Demonstrate INotifyPropertyChanged WPF
Implement any GUI in two different languages (By default english if we
9 select to switch to other language same page need to be converted to WPF
other language).
OPEN
OPEN
OPEN
OPEN
OPEN
OPEN
OPEN
OPEN
OPEN
Remark
Sl.No Exercises
Create a Simple WCF Service(Self-hosting) to perform Basic Mathematical Operations
1
(Addition, Subtraction, Multiplication, Division and Modulus)
Create a Simple WEB API Service to perform Basic Mathematical Operations (Addition,
2
Subtraction, Multiplication, Division and Modulus), along with add JWT Authentication
Estimated Time in
Session Status Hours Time taken Remark
WCF OPEN 6