What do you know about programming language C # P1

C # programming language is developed based on C and C ++ programming languages. In the article below, Network Administrator will go with you to learn about C # programming language through multiple choice questions. Let's start.

  1. Question 1. Which of the following is true about variable naming conventions in C #?
    1. Not a keyword in C #
    2. Variable names do not contain any spaces or symbols like? - +! @ #% ^ & * () [] {}
    3. The above two answers are correct
    4. There is no right answer
  2. Question 2. Which of the following is true about Object Type in C #?
    1. Object Type is the highest base class for all data types in C # Common Type System (CTS)
    2. Object is an alias for the System.Object class.
    3. Object Type can be assigned values ​​of any other type, value type, reference type, predefined type or user-defined type.
    4. All the answers above.
  3. Question 3. Which of the following transforms the type into a signed byte type in C #?
    1. ToInt64
    2. ToSbyte
    3. ToSingle
    4. ToInt32
  4. Question 4. Which solution is used to convert a type to an unsigned int in C #?
    1. ToType
    2. ToUInt16
    3. ToSingle
    4. ToString
  5. Question 5. In C #, which of the following Spec Specifier allows the class to display its member variables and functions for other functions and objects?
    1. Public
    2. private
    3. Proctected
    4. Internal
  6. Question 6. Which of the following is true about nullable types in C #?
    1. C # provides a particularly nullable data type so you can assign normal and null values.
    2. You can assign true, false or null in the Nullable variable.
    3. You can store any value from -2147483648 to 2147483647 or null in the Nullable variable.
    4. All the answers above.
  7. Question 7. Is the operator stack a dynamic polymorph?
    1. It's correct
    2. False
  8. Question 8. Where is the default access method of a class?
    1. private
    2. Public
    3. Protected
    4. Internal
  9. Question 9. Which of the following preprocessing directives allows you to check an icon or symbol to see if they are properly evaluated in C #?
    1. define
    2. undef
    3. if
    4. elif
  10. Question 10. User-defined exception classes derived from the ApplicationException class in C #?
    1. It's correct
    2. False
Update 24 May 2019
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile