Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

can we pass coditions in swtich case?

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of data set in asp.net?

1001


What is the basic difference between asp and asp.net?

1074


Can action method static?

1085


What is query string? What are its advantages and limitations?

1036


What are the media types of http requests and response?

1039


What is http protocol and how it works?

1101


What are the asp.net security controls?

1206


What are the advantages of asp.net mvc framework? : asp.net mvc

1069


Name the namespace which is used by ado.net?

997


What is a viewstate?

1054


What is an imagemap in asp.net?

1240


Define repository pattern in asp.net mvc? : asp.net mvc

1049


What are the ways of preserving data on a Web Form in ASP.NET?

1147


What I need to create and run an asp.net application?

1013


How can we communicate with each server in N-tier Architecture? and what are the methods?

2294