Professional Documents
Culture Documents
Netpractical File (1) PDF
Netpractical File (1) PDF
Netpractical File (1) PDF
7 Write a C# Program for jagged array and displayed items through foreach loop 8
8 Write a program in C Sharp using a class that gets the information about 9
employee's such as Emp Id, First Name, Last Name, Basic Salary, Grade,
Address, Pin Code and Contact Number. Write a method that calculates the
Gross Salary (Basic +DA+HRA) and returns to the calling program and
another method for the Net salary (Gross - (P.F + Income
Tax)).Finally write a method that prints, a pay slip of an employee, containing
all the above components in a proper format to the console.(Grade A =
20,000 , B=15,000 and C=10,000) DA=56% and HRA=20%., PF=780,
ITax.
14 Write a program to get the user’s name from the console and print it using 17
different namespace.
22 Write a program using ADO.net to insert, update, delete data in back end 25
23 Display the data from the table in a DataGridView control using dataset. 27