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

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