Advertisement
Redomine

Untitled

Sep 24th, 2019
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. IList<ElementId> categories = new List<ElementId>();
  2.  
  3. #1
  4.  
  5. private static string GetGreetingMessage(string name, double salary)
  6. {
  7. string a;
  8. string b;
  9. a = ("Hello, ");
  10. b = (", your salary is ");
  11. a += name;
  12. a += b;
  13. a += Math.Ceiling(salary);
  14. return (string) a;
  15. }
  16.  
  17. #2
  18.  
  19. private static string GetGreetingMessage(string name, double salary)
  20. {
  21. return string.Format("Hello, {0}, your salary is {1}", name, Math.Ceiling(salary));
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement