C# Interview Questions and Answers for Experienced - 4
Question: 16
Can you override private virtual machine?
No, moreover, you cannot access private methods in inherited classes, have to be protected in the base class to allow any sort of access.
Question: 17
What are the method parameter in C#?
C# is having four parameter types which are
Value Parameter default parameter type. Only Input
Reference (ref) Parameter.
Input/Output
Output(out) Parameter
Parameter(params) Arrays
Question: 18
Is string is value type or reference type in c#?
String is an object (Reference Type)
Question: 19
What is the difference between system.string and system.stringbuilder classes?
System.string is immutable.
System.stringbuilder was designed with the purpose of having a mutable string where a variety of operations can be performed.
Question: 20
What does the term immutable mean?
The data value may not be changed.
The variable value may be changed, but the original immutable data value was discarded and a new data value was created in memory.
- C# Interview Questions and Answers for Freshers
- C# Interview Questions for Experienced Professionals
- C# Interview Questions and Answers for Experienced
- C# Interview Questions with Answers Pdf
- C Sharp Interview Questions and Answers
- C Sharp Interview Questions and Answers for Freshers Pdf
- Top 200+ Advanced C# Interview Questions 2019-2020
- C# Programming Online Test Questions and Answers
- C# Algorithm Interview Questions and Answers
Samacheer Kalvi Class 10 Science Acoustics Questions & Answers More
Agricultural Engineering Multiple Choice Questions and Answers Pdf More
Soil, Water Conservation Engineering, Hydrology, Surveying MCQ Questions More
Irrigation and Drainage Engineering, Wells & Pumps MCQ Questions Pdf More
Agricultural Engineering Farm Power MCQ Questions and Answers More
Important Sports Cups and Trophies of India Pdf More
TNPSC General English Prefix and Suffix Questions Answers More
Computer Awareness Gk 2020-2021 More
7000+ TNPSC Group 1, 2, 2a, 4 Local Government MCQ Questions Pdf More
Top 100+ Profit and Loss Aptitude Questions and Answers More