can we pass coditions in swtich case?
Answers were Sorted based on User's Feedback
Answer / jagadishkumar.reddy
using switch statement we cant pass any Condition.
switch (expression)
{
case constant-expression:
statement
jump-statement
[default:
statement
jump-statement]
}
expression can be intergral or string.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / nikitha
No we cannot pass condition in switch
ex:
int a, b;
string str1;
switch(a+b)
Do some thing like this u will get compile error...
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / lavanya
Yes, we can pass conditions to switch statement.
| Is This Answer Correct ? | 0 Yes | 0 No |
is it possible to use web site without web server from remote place?
1 Answers ABC, Mannar Company, Quadrant,
Define the steps to set up validation control.
Web API uses which library for JSON serialization?
what is webpart? what r the parts in this webpart (zone)
Explain the main function of razor in asp.net? : asp.net mvc
What are the new navigation controls in asp.net 2.0?
Usage of web.configuration ?
What are the different web pages?
What are the differences between the response.write() and response.output.write()?
what is structured data format?
List some of the important session state modes of asp.net.
What is the DLL Hell Problem?
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)