// Here are all the namespaces used to build this application.
using System; // General base class library types.
using System.Drawing; // Graphical rendering types.
using System.Windows.Forms; // Windows Forms GUI widget types.
using System.Data; // General data-centric types.
using System.Data.SqlClient; // MS SQL Server data access types.
Once you have specified some number of namespaces (and set a reference to the assemblies
that define them), you are free to create instances of the types they contain. For example, if you are
interested in creating an instance of the Bitmap class (defined in the System.Drawing namespace),
you can write:
Do'stlaringiz bilan baham: |