Buy Questpond's video subscriptions on
huge discount
.
Online: 7200
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 15
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 ...
When a non virtual method of Parent class if written in child class then it is said to be _________ the parent class method
NOTE: This is objective type question, Please click question title for correct answer.
When a non virtual method of Parent class if written in child class then it is said to be _________ the parent class method
NOTE: This is objective type question, Please click question title for correct answer.
class CA { private void Foo() { } } class CB : CA { public ________ void Foo() { } } Which of the following are valid
NOTE: This is objective type question, Please click question title for correct answer.
Every method of child class which is declared as "new" can also be declared as
NOTE: This is objective type question, Please click question title for correct answer.
Only those overridden methods which are declared as __________ or __________ in the parent class can declare as sealed.
virtual,override
Can we redeclare a instance variable in child class if with same name it is already declared in parent class.
yes it must be declared as new (showing the parent class instance variable)
Does .net support Multiple Inheritance
Yes. It supports through Interface.
What all access specifiers are allowed when we are explicitly implementing interfaces
Explicitly implemented method should not have any access specifier because they anyhow cannot never be invoked explicitly using a variable of a class in
which they are implemented.They can be invoked only using reference variable of type interface.
Why an instance can't be created for an abstract class
An
Instance of Abstract class cannot be created because an abstract class
may (not compulsory) have some abstract members i.e. members whose
declaration is provided and implementation is not and if the instance of
this class is created, that abstract method would be invoked and it
doesnt have implementation and this would create a problem.
To avoid this kind of problem the compiler gives error if we try to
create the instance of abstract class (which can also be said as
incomplete class)
Do we have Vector and has map classes available in .NET
yes we have those classes in .net
The protected member of parent class ___________ be accessed in a child class method using reference variable of type parent
NOTE: This is objective type question, Please click question title for correct answer.
Can a reference variable of type parent, refer to an object of child class
NOTE: This is objective type question, Please click question title for correct answer.
Structures are __________ type and classes are ___________ type
NOTE: This is objective type question, Please click question title for correct answer.
Every member of an interface is by default ____________ and _____________
NOTE: This is objective type question, Please click question title for correct answer.
can we instantiate an interface
We can't instantiate an interface but we can get a reference to an interface
Why do we use interfaces when we can do the same with classes
Class can implement multiple interfaces but cannot inherit from multiple classes.Thats the benefit of interface over a class.
Can polymorphism be implemented without interfaces
yes,it can be.But the better way to implement polymorphism is using interfaces.
A class declared as __________________ cannot be inherited.
NOTE: This is objective type question, Please click question title for correct answer.
Can a sealed class have abstract methods
NOTE: This is objective type question, Please click question title for correct answer.
Virtual methods are __________ binded
NOTE: This is objective type question, Please click question title for correct answer.
1
...
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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