using System; >class quickTest >{ > static void Main() { > > System.Int64 paraInt64 = 4294967295; > System.Int32 iValue = 42000; > > System.Byte[] bValue1 = BitConverter.GetBytes(iValue); > System.Byte[] bValue2 = BitConverter.GetBytes(paraInt64); > > Console.WriteLine("Int sizes {0} and {1}",bValue1.Length,bValue2.Length); > > int iRetVal1 = BitConverter.ToInt32(bValue1,0); > long iRetVal2 = BitConverter.ToInt64(bValue2,0); > > Console.WriteLine("Values back: {0} and {1}",iRetVal1,iRetVal2); >}}Cetin