0% found this document useful (0 votes)
7 views

C- index

The document is an index of practical C# programming tasks, detailing 22 different exercises ranging from basic calculations and user input to more advanced concepts like inheritance and operator overloading. Each task is designed to enhance understanding of various programming concepts and techniques. The index includes tasks involving classes, structures, and exception handling.

Uploaded by

onlymusic287
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

C- index

The document is an index of practical C# programming tasks, detailing 22 different exercises ranging from basic calculations and user input to more advanced concepts like inheritance and operator overloading. Each task is designed to enhance understanding of various programming concepts and techniques. The index includes tasks involving classes, structures, and exception handling.

Uploaded by

onlymusic287
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

INDEX

Sr. Name of Practical Date Sign


No.
1 Write a simple c# programs to Calculate Hypotenuse of triangle using dynamic
initialization of variables
2 Write a simple c# programs to get input from the user and perform calculations
3 Write a simple c# programs to Calculate the quadrant for the coordinates using
if..else...ladder
4 Write a simple c# programs to Check whether the alphabet is a vowel or not using
switch..case...
5 Write a simple c# programs to understand about for..each loop and strings
6 Write a simple c# programs to print the students list using classes and objects
7 Write a simple c# programs to implement Single Inheritance concepts

8 Write a simple c# programs to implement Multilevel Inheritance concepts


9 Write a simple c# programs to implement Multiple Inheritance concepts
10 Write a simple c# programs to implement Unary operator overloading concept in
C#
11 Write a simple c# programs to implement Binary operator overloading concept in
C#
12 Write a console application that obtains four int values from the user and displays
the product.
13 Write a console application that checks two integers stored in variables var1 and
var2 is greater than 10 or not.
14 Write a console application that places double quotation marks around each word in
a string
15 Write an application that uses two command-line arguments to place values into a
string and an integer variable, respectively. Then display these values.
16 Write an application that receives the following information from a set of
students:Student Id:Student Name:Course Name:Date of Birth:The application
should also display the information of all the students once the data is Entered.
Implement this using an Array of Structures.
17 Write programs using conditional statements and loops: Generate Fibonacci series.

18 Write programs using conditional statements and loops: Generate various patterns
(triangles,diamond and other patterns) with numbers.
19 Write programs using conditional statements and loops: Test for prime numbers.

20 Write a program to declare a class „staff‟ having data members as name and
post.accept this data 5 for 5 staffs and display names of staff who are HOD.

21 Write a program to declare class „Distance‟ have data members dist1,dist2 ,dist3.
Initialize the two data members using constructor and store their addition in third
data member using function and display addition.

22 Write a program to accept a number from the user and throw an exception if the
number is not an even number.

You might also like