8.9. The Member Access (Dot) Operator
The member access (dot) operator (“.”) is used frequently to access a field or to call a method on an object.
object a = new object(); a.ToString();
The dot operator is also used to form qualified names: names that specify the namespace or interface (for example) to which they belong.
System.Console.WriteLine("hello"); // class Console in namespace System
Get .NET for Java Developers: Migrating to C# now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.