Which of the following is correct way to compile a C# program file.cs, and add a reference to an external assembly Vehicle.dll?

  1. csc /target:library file.cs

  2. csc /target:exe file.cs

  3. csc Vehicle.dll file.cs

  4. csc /r:Vehicle.dll file.cs


Correct Option: D

Find more quizzes: