Tag: programming languages

Questions Related to programming languages

  1. Data storage

  2. Database retrieval

  3. Data migration

  4. N-tier development


Correct Option: A,B,C,D

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
  1. The root class(super class) of all classes in C# is Object

  2. Constructors in C# can be static

  3. When you override <= operator, you must override >= operator

  4. If you write your own constructor in a class, C# also provides a default constructor


Correct Option: D
  1. C# Language Code

  2. Assembly Language Code

  3. Intermediate Language which CLR understands

  4. Pseudo-code


Correct Option: C
  1. By registering it in Windows Registry

  2. By signing the assembly using a strong-named key and adding it to GAC

  3. By putting it in C:\Windows Folder

  4. By setting the Environment Variables


Correct Option: B