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
4
Answers
When using a switch statement in C# ?
Nigel Fernandes
7y
274
1
Reply
Is it ok to write many lines of code in each
SWITCH CASE
OR
for such a situation one must use an
IF
statement ?
The program works in both scenarios but what is the
best practise
Or what is followed in industry ?
Thanks.
Post
Reset
Cancel
Answers (
4
)
Next Recommended Forum
date query problem
how to check gridview is empty while clicking button click