Forums - C# Corner

Forum guidelines
Naveen Bisht

Naveen Bisht

  • 761
  • 972
  • 7.7k

how can i remove multiple if statement.?

Jun 21 2017 12:25 AM
how can i remove multiple if statement.? 
 
 eg. if (a=="something")
{
}else if(b==" something"
{
 
}
...
 
 
.....
 
like this if multiple of if condtion in program how can i remove it shortes one. 
 

Answers (11)