Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. // OrtizOL - xCSw - http://ortizol.blogspot.com
  2.  
  3. using System;
  4.  
  5. public class SinReceptorDinamico
  6. {
  7.     public static void Main()
  8.     {
  9.         dynamic x = 7;
  10.         dynamic y = "OrtizOL";
  11.        
  12.         // Sin receptor dinĂ¡mico:
  13.         MostrarEnConsola(x);
  14.         MostrarEnConsola(y);
  15.     }
  16.    
  17.     public static void MostrarEnConsola(int x)
  18.     {
  19.         Console.WriteLine("xCSw");
  20.     }
  21.    
  22.     public static void MostrarEnConsola(string x)
  23.     {
  24.         Console.WriteLine("xCSw");
  25.     }
  26. }