About us |  Help us improve
intelliVERB - Get a fair search of the Internet !
Visual studio .net
SQL Server
Oracle
Main  >  Server components  >  Assemblies Email this page to friend
Multiple file assembly
Single file assembly
 
 
 
 
 
C# Single file assembly Top
Using System;
[assembly:System.Reflection.AssemblyVersion("1.0")]
namespace DoAllApp
{
 //STAThread: single-threaded apartment Thread
 //Application entry point
 [STAThread]
 public class Class1
 {
  public Class1()
  {
   string Msg="Hello Besty!";
   showMessage(Msg);
  }
  public static void showMessage(string Message)
  {
   System.Console.WriteLine(Message);
  }
 }
}


C# Multiple file assembly Top
Using System;
//reference to the DoAllApp assembly
using DoAllApp;
[assembly:System.Reflection.AssemblyVersion("1.0")]
namespace DoThisApp
{
 //STAThread: single-threaded apartment Thread
 //Application entry point
 [STAThread]
 public class DoThisClass
 {
  public DoThisClass()
  {
   string Msg="Message from DoThisApp";
   DoAllClass.showMessage(Msg);
  }
  
 }
}
You last visited
DDL Sql Server
Sql Server Basic functions
COM +
DML Sql Server
 
 
Make a secure donation now with PayPal!