0
Explicit casting
Tell me,please. This application, if the code writing in C # may make an explicit casting? --- Скажите,пожалуйста.В этом приложении,если код писать на С#,то возможно ставить явный кастинг?
2 Antworten
+ 2
explicit casting is when you force a type in another.
float myfloat = 3.5
int excast = (int) myfloat
so, with '(int)' you are expli it castinh my float to an int var called excast.
+ 1
Thanks, I just tried to make a explicit casting program, but the compiler gave me error