Which class should you use?
You need to retrieve an assembly’s Version property. Which class should you use?
Which permission should you use to open the file?
You have created a program that writes status updates into a file. You want to modify the file. You
need to ensure that other users can view the file while it is being modified. Which permission should
you use to open the file?
Which two classes in the .NET Framework allow you to delete a file?
Which two classes in the .NET Framework allow you to delete a file? (Each correct answer presents a
complete solution. Choose two.)
Which code fragment will display "Hello, World"?
You want to substitute values in a string that is displayed on the console. Which code fragment will
display “Hello, World”?
Where are the command line arguments stored for a console application?
Where are the command line arguments stored for a console application?
Which two actions should you perform?
You create a class that uses unmanaged resources. You need to ensure that users of the class can
explicitly release resources when the instance of the class is no longer required. Which two actions
should you perform? (Each correct answer presents part of the solution. Choose two.)
Value type variables are stored in the:
Value type variables are stored in the:
Managed code manages:
Managed code manages:
What does the .NET Framework use to pass data between managed and unmanaged code?
What does the .NET Framework use to pass data between managed and unmanaged code?
Which should you use to call a class written in C# from a program written in Microsoft Visual Basic .NET?
Which should you use to call a class written in C# from a program written in Microsoft Visual Basic
.NET?