Skip to Content
C# 7.0 – kurz & gut, 5th Edition
book

C# 7.0 – kurz & gut, 5th Edition

by Joseph Albahari, Ben Albahari
April 2018
Intermediate to advanced content levelIntermediate to advanced
238 pages
4h 32m
German
dpunkt
Content preview from C# 7.0 – kurz & gut, 5th Edition

Namensräume

Ein Namensraum ist eine Domäne, in der Namen von Typen eindeutig sein müssen. Typen werden normalerweise innerhalb von hierarchischen Namensräumen organisiert – um Namenskonflikte zu vermeiden und die Typen leichter zu finden. So ist zum Beispiel der RSA-Typ, der die Verschlüsselung mit öffentlichen Schlüsseln behandelt, in folgendem Namensraum definiert:

System.Security.Cryptography

Ein Namensraum gehört direkt zum Namen eines Typs. Dieser Code ruft die Methode Create von RSA auf:

System.Security.Cryptography.RSA rsa =

System.Security.Cryptography.RSA.Create();

image

Namensräume sind unabhängig von Assemblies, bei denen es sich um ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

C# 8.0 – kurz & gut, 6th Edition

C# 8.0 – kurz & gut, 6th Edition

Joseph Albahari, Ben Albahari
Reguläre Ausdrücke Kochbuch

Reguläre Ausdrücke Kochbuch

Jan Goyvaerts, Steven Levithan

Publisher Resources

ISBN: 9781492067740