code_junkie

Stop overlooking minor details

Nov 11th, 2011
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. void MyMethod(String some_input)
  2. {
  3. if (some_input == null)
  4. {
  5. some_input = "";
  6. }
  7. }
  8.  
  9. void MyMethod(String some_input) {
  10. if (some_input == null) {
  11. some_input = "";
  12. }
  13. }
  14.  
  15. // Create local variables
  16.  
  17. // Get the connection string from the config file
  18.  
  19. // Create Try Catch Finally block
  20.  
  21. // Create SQL parameters
  22.  
  23. .... etc
  24.  
  25. }
Add Comment
Please, Sign In to add comment