can we pass coditions in swtich case?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is event bubbling?

608


How can we implement a identity (sql server) call in an asp.net page?

560


How Session outproc in Sqlserver stored?

2306


Where is cookie used in asp.net?

577


What are the components of ado.net?

537






14. What are your Future Plans for Swatz Oils GROUP U.K?

1728


Describe the application event handlers in ASP.NET?

550


What is a page life cycle? What are the events in a page life cycle?

493


How will you do windows authentication and what is the namespace? If a user is logged under integrated windows authentication mode, but he is still not able to logon, what might be the possible cause for this? In ASP.Net application how do you find the name of the logged in person under windows authentication?

553


What are the events in a page life cycle?

534


How to you can limit Access to Web API to Specific HTTP Verb?

670


What is asp.net and ado net?

521


What is the behavior of a Web browser when it receives an invalid element?

630


Can you nest updatepanel within each other?

554


What is a 1x1 pixel?

532