2. Main features of the C# language
2.1 C# namespace
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...
Exclusive to subscribers. 97% yet to be discovered!
Already subscribed? Log in!
Main features of the C# language
Article included in this offer
"Software technologies and System architectures"
(
227 articles
)
Updated and enriched with articles validated by our scientific committees
A set of exclusive tools to complement the resources
Bibliography
Exclusive to subscribers. 97% yet to be discovered!
Already subscribed? Log in!