Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- foreach(var x in list)
- {
- if(condition(x)) { break;}
- //whatever
- }
- return z;
- var z
- foreach(var x in list)
- {
- if(condition(x)) { z = something }
- if(condition2(x)) { break;}
- }
- if(z==something)
- {
- //will this code execute?
- }
- return z;
- //some code
- if(condition)
- {
- return x
- }
- //more code possibly not executed
- if(condition2)
- {
- return y
- }
- //more code possibly not executed
- return z;
- foreach(x in list)
- {
- if(condition)
- {
- flag = y;
- }
- if(condition2 && flag)
- {
- return b;
- }
- if(condition3)
- {
- return c;
- }
- }
- while(x.next && !condition(x))
- {
- //whatever
- }
- list.Where(x=>condition(x)).select(//whatever)
Add Comment
Please, Sign In to add comment