Buy Questpond's video subscriptions on
huge discount
.
Online: 648
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 3
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 is the object ready for garbage collection?
when all the references to the object are lost.
what is the difference between pointer and reference value
Pointer is an address but Reference is not.
Whenever any of the business rules of an object or the integrity of the proprty or a method is violated, it should respond by
NOTE: This is objective type question, Please click question title for correct answer.
Protected member of parent can be accessed by
NOTE: This is objective type question, Please click question title for correct answer.
What are constructors?
Constructors are Methods--all calls " New" in VB.NET, they initialize objects during instantiation
Explain why you might use enums and constants instead of their associated literal values.
Enums and constants make code easier to read and maintain by substituting human-legible tokens for frequently used constant values.
In .NET all the dependent objects are automatically ready for garbage collection when the main object
NOTE: This is objective type question, Please click question title for correct answer.
An Abstract cannot be a
NOTE: This is objective type question, Please click question title for correct answer.
For an entry point Main method what is the datatype of CommandLine arguments?
String Array / string()
What is the smallest unit of execution in .NET?
An Assembly.
In C# can we do project level imports?
NOTE: This is objective type question, Please click question title for correct answer.
When should you call the garbage collector in .NET?
As a good rule, you should not call the garbage collector. However, you could call the garbage collector when you are done using a large object (or set of objects) to force the garbage collector to dispose of those very large objects from memory. However, this is usually not a good practice.
Which assembly is resource only assembly for a given culture
NOTE: This is objective type question, Please click question title for correct answer.
A class which is accessible outside assembly but can't be instantiated from outside assembly is called
NOTE: This is objective type question, Please click question title for correct answer.
Importance of classLibrary is
NOTE: This is objective type question, Please click question title for correct answer.
In C# project properties we can mention the _______________ but in code we have to explicitly mention the namespace.
NOTE: This is objective type question, Please click question title for correct answer.
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)
Can u allow class to be inherited, but prevent the method from being over-ridden
Yes, just leave the class public and make the method sealed.
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.
A reference variable of child can refer to an object of parent class True / False?
False because the child class members that the reference variable can access do not exit in memory when the object is of parent class.
1
2
3
4
5
6
7
8
9
10
...
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