# C# Operators ###### tags: `C#` | August 27, 2019 ## 01. Member Access Operator . 1. use the ```.``` token to access a member of a namespace or a type ###### eg: ###### 1. *Use . to access a nested namespace within a namespace* ``` using System.Collections.Generic; ``` ###### 2. *Use . to form a qualified name to access a type within a namespace* ``` System.Collections.Generic.IEnumerable<int> numbers = new int[] { 1, 2, 3 }; ``` <!--more--> ###### 3. *Use . to access type members, static and non-static* ``` var constants = new List<double>(); constants.Add(Math.PI); constants.Add(Math.E); Console.WriteLine($"{constants.Count} values to show:"); Console.WriteLine(string.Join(", ", constants)); // Output: // 2 values to show: // 3.14159265358979, 2.71828182845905 ``` 2. Can also be used to access an extension method.