2. Main features of the C# language
The namespace concept was borrowed from C++. It makes it easier to check that all the names used in a particular program are unique. It is therefore possible to have the same name in two different namespaces. For example, the "Person" class in the following example :
namespace ArbreGenealogique {
class Personne { .... }
}
namespace Bank {
class Personne { .... }
}
If you wish to use the "Person" class, simply specify which one: "ArbreGenealogique.Personne" or "Banque.Personne". Another solution...
You do not have access to this resource.
Exclusive to subscribers. 97% yet to be discovered!
Already subscribed?
Log in!
Ongoing reading
Main features of the C# language