Created
May 29, 2014 19:14
-
-
Save Fhernd/b6f43c1a53b879334cc5 to your computer and use it in GitHub Desktop.
Creación de un assembly ejecutable en C#.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ===++=== | |
// | |
// OrtizOL | |
// | |
// ===--=== | |
/*============================================================ | |
// | |
// Clase: NuevoAssembly.cs | |
// | |
// Propósito: Creación de un nuevo assembly para ser | |
// cargado en otro dominio de aplicación. | |
// | |
============================================================*/ | |
using System; | |
namespace Articulos.Cap03 | |
{ | |
public class TipoRemoto : MarshalByRefObject | |
{ | |
public TipoRemoto() | |
{ | |
Console.WriteLine( "Construcción de `TipoRemoto`..."); | |
} | |
} | |
public class PruebaTipoRemoto | |
{ | |
public static void Main() | |
{ | |
Console.WriteLine("Inicio de la prueba de `TipoRemoto`."); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment