Advertisement
Guest User

Untitled

a guest
Jul 28th, 2016
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. #load "lib.csx"
  2.  
  3. using System;
  4.  
  5. public static void Run(TimerInfo myTimer, TraceWriter log)
  6. {
  7. log.Info($"C# Timer trigger function executed at: {DateTime.Now}");
  8. log.Info(doubleTheInt(5).ToString());
  9. }
  10.  
  11. using System;
  12.  
  13. public static int doubleTheInt(int x) {
  14. return x*x;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement