To use a "piece" of the library you do not need a keyword using. The keyword is usingintended only to facilitate reference to types within namespaces.
When you write
using System;
.... ...
String hello = "Hello";
the compiler replaces it
System.String hello = "Hello";
But you could write directly
System.String hello = "Hello";
without using System. But this is pain :-)
string System.String, , string, # System.String (MSDN).
, , , , Add Reference. mscorlib () ( )
Microsoft Visual C/++, - :
#pragma comment(lib, "somelibrary")
.lib (). Visual C/++ , , , .
source
share