1. What will be the output of the following C# code snippet?
static void Main(string[] args)
{
Console.Write("c");
Console.Write("sharp" );
Console.ReadLine();
}
static void Main(string[] args)
{
Console.Write("c");
Console.Write("sharp" );
Console.ReadLine();
}
2. Which of the following is used to perform all input & output operations in C#?
3. Which of these data types is returned by every method of OutputStream?
4. Which of these method used to read strings from the console?
5. The advantages of using character stream based file handling are?
6. Select the statements which define the stream.
7. Which property among the following represents the current position of the stream?
8. The correct way to apply the custom attribute called Employer which receives two arguments – name of the employee and employeeid is?
9. Select the action of the method long seek()?
10. Which among the following is the correct form of applying an attribute?
Read More Section(File Handling and Input Output in C Sharp)
Each Section contains maximum 100 MCQs question on File Handling and Input Output in C Sharp. To get more questions visit other sections.