Sie sind auf Seite 1von 1

Assignment# 01

Note: Do not use ‘String’ data type and do not make Classes. Write the relevant code in function Main().
Output should be on the console.

Task 1:

Write a Program that will count the occurrences of specific character in an array of characters. The array and the specific character will
be provided as an input to the function.

Task 2:

Write a Program that displays the attributes and contents of some specific file. Assume the file path is provided as an input. Hint: Use the
C#.net class related to FILES.

Task 3:

Write a program to display the Time like a digital clock. It should display the Time for 2 minutes and then program should terminate
automatically.

Task 4:

Write a Program to Delete a substring in a string. Note, a string will be an array of characters.

Deadline: Wednesday, October 8th 2010

Submit your assignment to the following email address with the subject “ESD - Assignment # 01 – Your Roll
Number”

Email: farrah.farooq@gmail.com

Punjab University College of Information Technology – Farrah Farooq Page 1

Das könnte Ihnen auch gefallen