Web server extensions - 322 Object-Based Programming Chapter 8 64 while (
322 Object-Based Programming Chapter 8 64 while ( i < names.Length && 65 name.ToLower() != names[ i ] ) 66 i++; 67 68 if ( i != names.Length ) 69 dimensions[ i ] = value; 70 } 71 72 } // end indexer 73 74 } // end class Box 75 76 // Class IndexerTest 77 public class IndexerTest : System.Windows.Forms.Form 78 { 79 private System.Windows.Forms.Label indexLabel; 80 private System.Windows.Forms.Label nameLabel; 81 82 private System.Windows.Forms.TextBox indexTextBox; 83 private System.Windows.Forms.TextBox valueTextBox; 84 85 private System.Windows.Forms.Button nameSetButton; 86 private System.Windows.Forms.Button nameGetButton; 87 88 private System.Windows.Forms.Button intSetButton; 89 private System.Windows.Forms.Button intGetButton; 90 91 private System.Windows.Forms.TextBox resultTextBox; 92 93 // required designer variable 94 private System.ComponentModel.Container components = null; 95 96 private Box box; 97 98 // constructor 99 public IndexerTest() 100 { 101 // required for Windows Form Designer support 102 InitializeComponent(); 103 104 // create block 105 box = new Box( 0.0, 0.0, 0.0 ); 106 } 107 108 // Visual Studio .NET generated code 109 110 // main entry point for application 111 [STAThread] 112 static void Main() 113 { 114 Application.Run( new IndexerTest() ); 115 } 116 Fig. 8.16 Fig. 8.1FiFig. 8.16g. 8.16Indexers provide subscripted access to an object s members. (Part 3 of 6.) Fig. 8.16
Note: If you are looking for cheap and reliable webhost to host and run your mysql application check mysql web server services.