What are three test cases you should go through in unit
testing?
Answer / guest
Positive test cases (correct data, correct output),
negative test cases (broken or missing data, proper
handling), exception test cases (exceptions are thrown and
caught properly).
| Is This Answer Correct ? | 17 Yes | 1 No |
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.
Which control cannot be placed in mdi?
Why data types are important in c#?
List out the differences between array and arraylist in c#?
What is the meaning of int parse in c#?
How do you specify a custom attribute for the entire assembly (rather than for a class)?
What is event delegate in c#?
can we access main() using objects?
What is null propagation c#?
What operator means?
What is mvc pattern in c#?
What is xml document how do you open it?
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)