IndiaBIX
IndiaBIX
Start typing & press "Enter" or "ESC" to close
  • Home
  • Jobs
  • Results
  • Current Affairs
  • GK
  • Online Test
  • HR Interview
  • BLOG

Which of the following are true about classes and struct? 1 A class is a reference type, whereas a struct is a value type. 2 Objects are created using new, whereas structure variables can be created either using new or without using new. 3 A stru

  • Home
  • Computer Science & Engineering
  • C# Programming Questions and Answers
  • Structures - General Questions
  • Discuss - 1068
1. 

Which of the following are true about classes and struct?

1 A class is a reference type, whereas a struct is a value type.

2 Objects are created using new, whereas structure variables can be created either using new or without using new.

3 A structure variable will always be created slower than an object.

4 A structure variable will die when it goes out of scope.

5 An object will die when it goes out of scope.

[A]. 1, 2, 4
[B]. 3, 5
[C]. 2, 4
[D]. 3, 4, 5

Answer: Option A

Explanation:

No answer description available for this question. Let us discuss.
Workspace Report
Leave a Comment

Computer Science & Engineering :: C# Programming Questions and Answers : More Exercises

  • .NET Framework - General Questions
  • Control Instructions - General Questions
  • Functions and Subroutines - General Questions
  • Constructors- General Questions
  • Arrays - General Questions
  • Structures - General Questions
  • Properties - General Questions
  • Exception Handling - General Questions
  • Interfaces - General Questions
  • Delegates - General Questions
  • Generics - General Questions
  • Datatypes - General Questions
  • Operators - General Questions
  • Classes and Objects - General Questions
  • Inheritance - General Questions
  • Strings - General Questions
  • Enumerations - General Questions
  • Namespaces - General Questions
  • Polymorphism - General Questions
  • Collection Classes - General Questions
  • Attributes - General Questions

Questions & Answers

Aptitude Chemical Engineering Civil Engineering Computer Science & Engineering Current Affairs Data Interpretation Electrical & Electronics Engineering Electronics & Communication Engineering General Knowledge Logical Reasoning Mechanical Engineering Non Verbal Reasoning Verbal Ability Verbal Reasoning

Interviews

HR Interview

Jobs

Sarkari Jobs

Results

Rojgar ResultSarkari Result

Admission

Admission 2023

Admit Card

Admit Card 2023

Answer Key

Answer Key 2023
copyright
Privacy Policy
© 2026 IndiaBIX. All Rights Reserved.

Report