-
Task Bar Icon
How to create our application's icon in taskbar?
-
When you inherit a protected class-level variable, who is it available to?
Classes in the same namespace.
-
C# Calender Days
How to find out how many calender days are there between two dates in c#.net?
-
Data Relation
What is Data Relation? What are data relation objects in C#?
-
'this' in C#
Explain about 'this' and where and when it should be used?
-
How do I make a DLL in C#?
You need to use the /target:library compiler option.
-
Delegates and Generics in c#
What is the advantage of using delegates and Generics in c# .
-
Which of the following are predefined reference types in C#?
Skill/Topic: BeginnerA) intB) objectC) string
-
XML documents for a C# program can be generated using
Skill/Topic: IntermediateA) /xmldoc switchB) /doc switchC) /gendoc switch
-
The field variables in a class or a struct in C# are by default given a value of zero
Skill/Topic: BeginnerA) TrueB) False
-
An assembly can be stored across multiple files?
Skill/Topic: IntermediateA) YesB) No
-
Delegate
The following code illustrates a situation where a boss wants to keep track of the work progress of its subordinates: using System;namespace BigCompany { public class Boss { public void WorkerPercentageDone(int percentage) { Console.WriteLine("I am the boss, and my worker is " + percentage + "% done."); } } public class Worker { Boss boss = null; public Worker(Boss boss) ...
-
Namespaces are used to
Skill/Topic: IntermediateA) Separate assembliesB) Create a unique name for an assemblyC) Avoid name clashes between data types
-
Func Key
What are Func Key in C# 3.0?
-
-
Structs and classes support inheritance
Skill/Topic: IntermediateA) TrueB) FalseExplanation: Only classes can inherit. Structs can’t.
-
.NET FRAMEWORK
.NET FRAMEWORK1. What is .NET Framework?The .NET Framework has two main components: the common language runtime and the .NET Framework class library.You can think of the runtime as an agent that manages code at execution time, providing core services such as memory management, thread management, and remoting, while also enforcing strict type safety and other forms of code accuracy that ensure security...
-
IF a namespace isn't supplied, which namespace does a class belong to
Skill/Topic: IntermediateA) a nameless global namespaceB) SystemC) Windows
-
Namespaces
When do you apply Namespace Alias Qualifiers and Extern Namespaces Alias?
-
What is true about readonly variable in C# code?
Skill/Topic: BeginnerA) It's the same as a constantB) It's value can be assigned only onceC) You can never assign a value to it
C# Interview Questions
Ans