Advertisement
GeneralGDA

Dynamic.

Oct 26th, 2016
483
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.22 KB | None | 0 0
  1. static void Zig(string fun)
  2. {
  3.            
  4. }
  5.  
  6. static void Zig(double zag)
  7. {
  8.  
  9. }
  10.  
  11. internal static void Main([NotNull] string[] arguments)
  12. {
  13.     dynamic foo = 1.0;
  14.     Zig(foo);
  15.  
  16.     dynamic fun = "string";
  17.     Zig(fun);
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement