C# Type Conversion
I have been running into some issues with type conversion lately. I never have quite figured out the differences between all the different ways you can do type conversions. There are 3 that I use throughout my code.
- (int) myVariable
- myVariable as int
- Convert.ToInt32(myVariable)
I found a few articles on MSDN regarding the subject that helped clear the water a little.
If anyone else has any good references surrounding type conversions, please let me know.