title: Extension Method for Conversion
body: <p>let's assume i have a class like below : </p>
  
  <pre><code>public class PhysicalMemory 
  { 
      public string Localtion { get; internal set; } 
      public ulong Capacity { get; internal set; } 
      public string Manufacturer { get; internal set; } 
      public string Part_Number { get; internal set; } 
      public string Serial_Number { get; internal set; } 
      public uint Speed { get; internal set; }
  }
  </code></pre>
  
  <p>I need an extension method to convert my Capacity from bytes to KBytes , MBytes and ..... if user wanted to , for example:</p>
  
  <pre><code>PhysicalMemory phM = New PhysicalMemory();
  ulong capacity_in_bytes = phM.Capacity;
  
  ulong capacity_in_KB = phM.Capacity.ToKBytes();
  ulong capacity_in_MB = phM.Capacity.ToMBytes();
  </code></pre>