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 |
How does the browser enable AutoPostBack functionality?
how many character send in one sms forget 160limit and think about gateway allowed
how to include timer or counting time to display next page in asp.net
What is web.config. How many web.config files can be allowed to use in an application ?
10 Answers Accenture, BirlaSoft, Infosys, InterGraph, Satyam, Wipro,
What is gacutil.exe? Where do we store assemblies, Should sn.exe be used before gacutil.exe?
Explain how cookies work.
What do you understand from custom control?
What is syntax code to send email from an asp.net application?
How does the service stream content?
How many web.config files in each solution
What are validator? Name the validation controls in asp.net?
can machine.config file orverrides web.config. For example: if u set session timeout as 30 mins in web.config file to a particular application and if u set session timeout as 10 mins in machin.config. what will happen and which session is set to the appliction?
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)