using System; using System.Globalization; using System.IO; using Com.Xagasoft.Gats; class Ints { static void Main() { FileStream file = new FileStream("test.gats", FileMode.Open, FileAccess.Read ); GatsObject obj = GatsObject.Read( file ); Console.WriteLine("Read type: " + obj.GetType() ); Console.WriteLine("Read int: " + ((GatsInteger)obj).Value ); Console.WriteLine("Float? " + double.Parse("0x1.62e42fefa39efp+2") ); } }