What is the use of flag in c#?
Answer / Vikash Singh
In C#, a flag is an enumeration used to represent a set of related values. Flags allow you to combine multiple values from an enumeration using bitwise operators.
| Is This Answer Correct ? | 0 Yes | 0 No |
Write down the c# syntax to catch an exception
What is the use of the dispose method in C# ?
Why do we need constructors?
How to implement delegates in c#.net
What is typeof undefined?
What is the CTS, and how does it relate to the CLS?
What is use of private class in c#?
What is the default scope of a class in c#?
Method1() { int a=0, b=0, c=0; Monitor.Enter(this) c = 12; b = 3; a = c/b Moniter.Exit(this) } Method1() { int a=0, b=0, c=0; c = 12; b = 3; lock(this){ a = c/b } } Choose correct answer. a. Upon completion, Method1 and Method2 release the lock b. Upon Comletion, Method1 release the lcok and Method2 not. c. Upon Completion, Method2 release the lock and Method1 not. d. Upon Completion, neither Method1 or Method to release the lock.
What do you mean by winforms in c#?
Is clr a compiler?
Can var be null c#?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)