home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 40 / IOPROG_40.ISO / SOFT / NETFrameworkSDK.exe / comsdk.cab / samples.exe / Deployment / 3_SimplePath / Client.cs < prev    next >
Encoding:
Text File  |  2000-06-23  |  556 b   |  19 lines

  1. using System;
  2.  
  3. using org;
  4.  
  5. // This "class" exists only to house the application's entry-point function
  6. class MainApp {
  7.     // Static method called "Main" is application's entry point function
  8.     public static void Main() {
  9.  
  10.         // Iterate over component's strings and dump them to the console 
  11.         Stringer myStringComp = new Stringer();
  12.         Console.WriteLine("Strings from StringComponent");                
  13.         for (int index = 0; index < myStringComp.Count; index++) {
  14.             Console.WriteLine(myStringComp.GetString(index));                
  15.         }    
  16.         
  17.     }
  18. }
  19.