Buy Questpond's video subscriptions on
huge discount
.
Online: 7196
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Exclusive Interviews
> C#
C# Exclusive Interview Questions and Answers (453) - Page 14
A joint initiative from DotNetFunda.Com and Questpond.
A one stop place on the internet to get trusted and proven Interview Questions (based on more than a decade of experience in this field) to ensure the success of the candidates.
You will find almost all Interview questions from Questpond here and this list is growing day by day with all latest and updated interview questions.
453 records found.
Post Interview
|
Interview Experiences
|
Interview FAQs
|
Online Interviews
|
Interviews Home
Get 650+ Questpond's Interview videos on discount
Loading ...
For a given try, the catch block of __________ class must be always after the catch block of ___________ class
NOTE: This is objective type question, Please click question title for correct answer.
public static void Main() { CA a; } What is "a" ?
a is a reference variable of type CA.
KeyPress event fires only for _____________
NOTE: This is objective type question, Please click question title for correct answer.
What is Shadowing?
When the method is defined as sealed in base class and not overrideable and
we need to provide different implementation for the same. This process
is known as shadowing.
MaskedTextBox properties are _________
NOTE: This is objective type question, Please click question title for correct answer.
___________ DialogBox : unless it is disposed we cannot work with the parent form
NOTE: This is objective type question, Please click question title for correct answer.
_______ DialogBox : It always remains on top of the owner form but while is is open we can also work with owner form
NOTE: This is objective type question, Please click question title for correct answer.
The MenuItems in the MenuStrip of __________ are by default appended to the MenuStrip of ___________
NOTE: This is objective type question, Please click question title for correct answer.
What is the Order Of Execution of Destructors in Child and Parent Classes
Parent Class Destructor is Executed After Child Class Destructor.
Can we use base and this in the same Constructor
No
What is the advantage of inheritance
The advantages of Inheritance are Generalization,Extensibility and Reusability.
Protected members are accessible only within the class and in ____________ and are not accessible to non derived classes
derived classes
class CA { public int PubA; private int PriA; protected int ProA; public CA(int a, int b, int c) : this() { this.PriA = a; this.ProA = b; this.PubA = c; } } class CB : CA { public int pubB; public CB() : ____________ { } } Fill the above blank
base(0,0,0)
Child class destructor always executes before parent class destructor true/false
true
A reference variable of type parent can refer to an object of child class True / False
True.A reference variable of type parent can refer to an object of child
class because all the members which the reference variable can access
exist in memory when the object is of child class.
A reference variable of child can refer to an object of parent class True / False? Justify
False because the child class members that the reference variable can access do not exit in memory when the object is of parent class.
class CA { } class CB : CA { } class Program { static void Main() { CA a = new CB(); //Is it valid or not? } }
A reference variable of type parent can refer to an object of child
class because all the members which the reference variable can access
exist in memory when the object is of child class.
class CA { } class CB : CA { } class Program { static void Main() { CA a = new CA(); CB b = a as CB; } } What happens of the this code is compiled
NOTE: This is objective type question, Please click question title for correct answer.
Virtual Methods are
NOTE: This is objective type question, Please click question title for correct answer.
class CA { public void Foo() { } } class CB : CA { public _______ void Foo() { } } Fill in the blank
New
1
...
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
...
23
More C# Interview Questions & Answers here
Found this useful, bookmark this page to the blog or social networking websites.
Bookmark It
Exclusive Interview Questions and Answers Categories
.NET Certifications
.NET Core
.NET Framework
ADO.NET
AI ML
Android
Angular
AngularJS 1x
Aptitute Test
ASP.NET
ASP.NET AJAX
ASP.NET Core
ASP.NET MVC
ASP.NET Web API
Aurelia
Azure
Best Practices
BizTalk Server
Bootstrap
C#
Cloud
CMS
CSS 3
Data Structures & Algorithms
Design Pattern & Practices
DotNetFunda.Com
Entity Framework
Error and Solution
F#
Function Points (FPA)
HR
HTML 5
IIS
Interview Questions
JavaScript
jQuery
Kinect
LightSwitch
LINQ
Management
Mobile Development
MSBI (SSIS, SSRS, SSAS)
Mule
Networking
News and Community
Node.js
NoSql
OOPS
Oracle
Others
PostgreSQL
PowerShell
Product Reviews
Project Management
Python
QA (Testing)
R Language
Regular Expressions
SEO
SharePoint
SignalR
Silverlight
Sql Server
TypeScript
UML
VB.NET
Visual Studio
WCF
Web Analytics
Web Services, Remoting
Windows 8
Windows Forms
Windows Metro
Windows Phone
WPF
WWF
XML