Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // OrtizOL - xCSw - http://ortizol.blogspot.com
- using System;
- public class SinReceptorDinamico
- {
- public static void Main()
- {
- dynamic x = 7;
- dynamic y = "OrtizOL";
- // Sin receptor dinámico:
- MostrarEnConsola(x);
- MostrarEnConsola(y);
- }
- public static void MostrarEnConsola(int x)
- {
- Console.WriteLine("xCSw");
- }
- public static void MostrarEnConsola(string x)
- {
- Console.WriteLine("xCSw");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement