Essential C# Type Conversion  Suggest an edit

Explicit Type Conversion

using System;
namespace TypeConversionApplication 
{
   class ExplicitConversion 
   {
      static void Main(string[] args) 
      {
         double d = 5673.74; 
         int i;
         
         // cast double to int.
         i = (int)d;
         Console.WriteLine(i);
         Console.ReadKey();
      }
   }
}

Table Of Contents
22 Enum
25 GUID
36 Type Conversion
107 Stream
108 Timers
  ↑ ↓ to navigate     ↵ to select     Esc to close