Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
6
Answers
Multible cases
Per Jespersen
13y
2.7k
1
Reply
I know this is possible in Visual Basic. But is something like that possible in c#?
string a = "two"
switch(a)
{
case "one", "two":
DoSomeThing();
break;
}
Post
Reset
Cancel
Answers (
6
)
Next Recommended Forum
Assign Tab delimite to variable in sql
Dynamic button i dynamic table click event