Buy Questpond's video subscriptions on
huge discount
.
Online: 7423
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
>
Interviews
> C#
C# Interview Questions and Answers (958) - Page 43
Latest and authentic Interview questions. You can also
post an interview question
and
win monthly prizes
as well as gain community
credit points
.
958 records found.
Post
|
Interview Experiences
|
Interview FAQs
|
Online Interviews
|
Exclusive Questions
Get 650+ Questpond's Interview videos on discount
Loading ...
In C#, which of the below keyword is used for method hiding?
NOTE: This is objective type question, Please click question title for correct answer.
In C#, the property which has only get and set accessors without any logic is?
NOTE: This is objective type question, Please click question title for correct answer.
C# properties doesn't support one of the conditions below. What is that?
NOTE: This is objective type question, Please click question title for correct answer.
In C#, the string which starts with the character '@' is called as?
NOTE: This is objective type question, Please click question title for correct answer.
In C#, what is the string type used to create an empty string?
NOTE: This is objective type question, Please click question title for correct answer.
In C#, the method used to find the position of character in a string is?
NOTE: This is objective type question, Please click question title for correct answer.
In C#, the method used to split the defined string to substrings is?
NOTE: This is objective type question, Please click question title for correct answer.
In C#, the method used to get a part of the string is?
NOTE: This is objective type question, Please click question title for correct answer.
In C#, the method used to find that the string numeric value or not?
NOTE: This is objective type question, Please click question title for correct answer.
In C#, struct is derived from which base type?
NOTE: This is objective type question, Please click question title for correct answer.
In C#, the method used to sort an array in the ascending order is?
NOTE: This is objective type question, Please click question title for correct answer.
In C#, the method used to sort an array in the descending order is?
NOTE: This is objective type question, Please click question title for correct answer.
C# doesn't support one of the following features. Find that?
NOTE: This is objective type question, Please click question title for correct answer.
In C#, the process of grouping the related methods and variables (members) at a place is known as?
NOTE: This is objective type question, Please click question title for correct answer.
In C#, the keyword used to create an object to a class or struct is?
NOTE: This is objective type question, Please click question title for correct answer.
In C#, the following keyword used to allocate the for a class's instance is?
NOTE: This is objective type question, Please click question title for correct answer.
In C#, the keyword used to access the base class members from the derived class is?
NOTE: This is objective type question, Please click question title for correct answer.
In C#, the keyword used to pass the arguments by reference is?
NOTE: This is objective type question, Please click question title for correct answer.
What will happen,when we compile below C# code? private void sum(int a,int b) { return a + b; }
It will give below compile-time error as:-
Since '_Default.sum()' returns void, a return keyword must not be followed by an object expression.
Means if the return type is void,then we need not return any value from code as void returns Nothing.
What will happen,when we compile below C# code? private int Calculate(int a, int b) { int i = a; int j = b; int k = i + j; }
'_Default.Calculate(int,int)': not all code paths return a value
Above error means if we have defined any method with return type then we have to explicitly return that type otherwise it will not compile and will throw above error.So we have to re-write below code as:-
private int Calculate(int a, int b)
{
int i = a;
int j = b;
int k = i + j;
return k;
}
1
...
36
37
38
39
40
41
42
43
44
45
46
47
48
More C# Exclusive Interview Questions & Answers here
Found this useful, bookmark this page to the blog or social networking websites.
Bookmark It
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