JOIN ADRE 2.0 Telegram Group

C# Programming - Questions and Answers for Competitive Exams | GkSeries

Questions
25. Override is a ____________.
  • [A] parameter modifier.
  • [B] method modifier.
  • [C] access modifier.
  • [D] class modifier.

Answer: Option [B]

26. _________ is an access modifie
  • [A] Private
  • [B] Params
  • [C] Override
  • [D] Out

Answer: Option [A]

Advertisement
Article and Schedule Quiz Start Test!

DOWNLOAD CURRENT AFFAIRS PDF FROM APP

27. An ____________ is an object that encapsulates information about an unusual program occurrence
  • [A] Exception
  • [B] try
  • [C] catch
  • [D] finally

Answer: Option [A]

28. Which is an entry controlled looping statement?
  • [A] switch
  • [B] while
  • [C] do..while.
  • [D] break

Answer: Option [B]

29. C# supports __________.
  • [A] for statement only.
  • [B] for each statement only.
  • [C] both for and for each statements.
  • [D] neither for nor for each statement.

Answer: Option [C]

30. Objects cannot be created for _________ class.
  • [A] static
  • [B] student
  • [C] abstract
  • [D] struct

Answer: Option [C]

31. ________ function provides string representation of the object.
  • [A] ToString().
  • [B] GetType().
  • [C] Equals().
  • [D] Finalize().

Answer: Option [A]

32. Which of the following function is implemented by a destructor?
  • [A] ToString().
  • [B] GetType().
  • [C] Equals().
  • [D] Finalize().

Answer: Option [D]

33. The class that is present inside another class is called __________ class.
  • [A] inner
  • [B] outer
  • [C] nested
  • [D] grouped

Answer: Option [A]

34. __________ is a collection of objects.
  • [A] Array
  • [B] Struct
  • [C] Class
  • [D] Nested

Answer: Option [C]

35. ________ is an accessor that sets the value of a property.
  • [A] Assign
  • [B] Set
  • [C] Get
  • [D] Is

Answer: Option [B]

36. Static class can have _________ members.
  • [A] static
  • [B] abstract
  • [C] static and non static.
  • [D] void

Answer: Option [A]

ADRE 2.0 FULL LENGTH MOCK TEST

Take Mock Tests

Missiles Mock Test Start Test!
SSC MTS Mock Test Start Test
IBPS CLERK MOCK TEST Start Test
SSC MTS 2022 JULY 26 Shift 1 (ENGLISH) Start Test!
SSC GD Previous Year Paper 2021 Nov 17 Shift - I (Hindi) Start Test!
SSC CGL Tier - 1 PYP 2022 April 21 Shift- 1 (ENGLISH) Start Test!
MPSC PAPER I MOCK TEST 1 (ENGLISH) Start Test!
IB Security Assistant Mock test 1 (english) Start Test!
UP POLICE CONSTABLE MOCK TEST 1 Start Test!
DELHI POLICE CONSTABLE MOCK TEST 1 (HINDI) Start Test!
Advertisement
Assam Direct Recruitment Test Series

Latest Test Series

ssc cgl test series

SSC CGL

Start Test 1000+ Tests Latest patternView Course
delhi policesi test series

DELHI POLICE SI

Start Test 1000+ Tests Latest patternView Course
west bengal psc test series

WEST BENGAL PSC

Start Test 1000+ Tests Latest patternView Course
cisf head constable test series

CISF CONSTABLE

Start Test 1000+ Tests Latest patternView Course
Junior Associate of the Indian Institute of Bankers(JAIIB) test series

JAIIB

Start Test 30 Full Length Tests View Course
adre 2024 test series

ADRE 2024

Start Test 25000+ QUESTIONS SOLUTIONSView Course
RRB RRC GROUP D test series

RRB RRC GROUP D

Start Test 15000+ QUESTIONS Latest patternView Course
UP POLICE SI test series

UP POLICE SI

Start Test 16000+ QUESTIONS Latest patternView Course
CLICK HERE TO VIEW ALL COURSES