Thanks
I have a more complicated problem than I thought. I have 4 byte (32 bit) floating point numbers in a file with the 4 bytes in the wrong order. I can read each byte into an int32, then, by shifting them the appropriate number of places, OR them all together to form a single int32 with the bit pattern for the float in it. I then need to have C# recognize this int32 as a float, NOT convert it to a float. If it converts it, then the 32-bit pattern is assumed to be an integer and the integer value is converted to a float. This is not what I need.
This is easy to do in Java using the Float.IntBitsToFloat method, but there is no equivalent method in .Net. Does anybody know how the do this in C#?
Thanks