-
-
MFC GUI without flickering
User is continuously entering some in GUI and it is doing some background processing and updating in GUI. How to do it without flickering the GUI using MFC?Thanks,Raja Gregory
-
Native Keyword
What is native keyword in C#?
-
MessageBox in ASP.NET Page
How to display and create Message box in ASP.NET using C# code?
-
Shallow and Deep Copy
What is shallow and deep copy in C#? How to perform the same in C#?
-
Given colors, subtract the fade value and print
What is wrong with the following C# code? It should take the given colors and subtract the given fadeValue and then print out the new faded values. Please copy and paste the code into your response and fix it so that it works correctly.
using System;namespace PCD{ class MainClass { static void Main(string[] args) { int red=110; int green=220; int blue=230; getFadedColor(red,... -
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?
-
'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
-
-
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...
C# Interview Questions
Ans