27.Write an exception class NotAvailableException that just contains acustom message printed.28.Write a program that writes data into file. The data to be written are theCSharp data types and not just bytes.29.Write a program to count the numbers of characters entered through stdin.The program exits upon entering Ctrl+Z.30.Accept a filename. Write a program to print the properties of the file31.Write a program to accept a filename and print the contents of the filealong with the line numbers. It could be the source code itself.32.We have two variables,
Find out the values of i and a after each assignment. Each line is to be processed distinct, a) does not affect to latter ones and so on... Nothing else is done between definition and assignment.
a) a = ++i;b) a = i++;c) a = --i;