Buy Questpond's video subscriptions on
huge discount
.
Online: 12102
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 48
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 ...
Operator Overloading is perform based on?
NOTE: This is objective type question, Please click question title for correct answer.
Dynamic Polymorphism Implemented by?
NOTE: This is objective type question, Please click question title for correct answer.
What is the output for following code? public static void Main() { Console.WriteLine(Math.Round(0.5)); Console.WriteLine(Math.Round(2.5)); Console.WriteLine(Math.Round(1.5)); }
NOTE: This is objective type question, Please click question title for correct answer.
The 'ref' Keyword in which of the following method/function?
NOTE: This is objective type question, Please click question title for correct answer.
To implement delegates, the necessary condition is?
NOTE: This is objective type question, Please click question title for correct answer.
Which of the following statements is correct about a delegate?
NOTE: This is objective type question, Please click question title for correct answer.
What will be the output of the below program? using System; using System.Collections.Generic; using System.Linq; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { Console.Write(new List<int>() { 16, 17, 4, 3, 5, 2, 10 } .OrderBy(o => o) .SkipWhile(s => s < 2) .TakeWhile(t => t <= 10) .ToList() .Aggregate((a, b) => a + b)); } } }
NOTE: This is objective type question, Please click question title for correct answer.
What is the purpose of Ilasm.exe?
ILAsm.exe is a command line tool that is shipped with the .NET Framework. It is used to compile programs written in IL and convert them to .exe or .dll files. It is located at <windowsfolder>\Microsoft.NET\Framework\<version> folder.
What is the purpose of Ildasm.exe?
Ildasm.exe is a tool which takes a Portable Executable(PE) file that contains IL code and creates a text file as the input to Ilasm.exe.
This tool is installed as a part of Visual Studio installation. Once we have the compiled code (.exe/.dll), we can open it through the ildasm.exe interface and this tool will display the structure of decompilation.
Ildasm.exe shows only metadata descriptions for .obj and .lib input files.
Ildasm.exe only operates on PE files which are on disk and not on the files installed in the global assembly cache.
What is private constructor and what are some of it's benefits.
Private Constructor is a special instance constructor used in class that contains static memory only.
The primary use of a private constructor is not to allow to create class instance when there are no instance fields or methods, or when a method is called to obtain an instance of a class.
Some benefits are
a) The constructor can only be accessed from static factory method inside the class itself e.g Singleton Class (where not more than one instance of the class exists in the program.)
b) Limit the number of object of a class
c) Preventing creating copy of the class (i.e. copy constructor)
d) A utility class that only contains static methods. (though here we can use a static class but it's an option)
e) Class cannot be inherited
Which of the below operators is used to determine if two strings are identical?
NOTE: This is objective type question, Please click question title for correct answer.
Identify the correct Dataset Architecture in .Net
NOTE: This is objective type question, Please click question title for correct answer.
Passing a variable as a ref parameter you need to.
NOTE: This is objective type question, Please click question title for correct answer.
Passing a variable as a out parameter you need to
NOTE: This is objective type question, Please click question title for correct answer.
What is Interface?
An interface looks like a class, but has no implementation.
Interfaces define properties, methods, and events, which are the members of the interface.
Interfaces contain only the declaration of the members. It is the responsibility of the deriving class to define the members.
Thanks
Amatya
What will the output of this code class DNF { public static void Main() { System.Console.WriteLine("Hello DNF members"); } } interface itfunda { int a; }
NOTE: This is objective type question, Please click question title for correct answer.
Which one is Client type state management?
NOTE: This is objective type question, Please click question title for correct answer.
Which one is Server type state management?
NOTE: This is objective type question, Please click question title for correct answer.
1
...
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