• Register

Recent posts tagged casting

32 1 2 min.
In C#, Array and string both are the reference type instead of value-type. By following the rule of the polymorphism, a cast operation between reference types doesn't change the run-time sort of the underlying object, it only changes the sort of ...
posted Jun 2 mhfaisal 415 points
2 0 2 min.
In C#, after declaring a variable is once, it cannot be declared again or assigned a worth of another type unless that type is implicitly convertible to the variable's type. Because C# is statically-typed at the build time.The float can't be ...
posted May 7 mhfaisal 415 points
44 2 1 min.
We can perform different conversions between different variables like we can convert float variable to integer variable. And these conversions are really helpful in numerous ways. We can easily convert int to char but there is something to notice, ta...
posted Jul 5, 2020 Lalit Kumar 1,240 points
29 0 2 min.
 ASCII(American Standard Code for Information Interchange), is a standard for representing the characters like SI units is used for units in science. ASCII represents text characters. Every character has its own unique value. In today's arti...
posted May 4, 2020 Lalit Kumar 1,240 points
8 0 4 min.
Const_castThe expression const_cast<T>(V) can be used to change the const or volatile qualifiers of pointers or references. Where T must be a pointer, reference, or pointer-to-member type. When should const_cast be used? Use only when...
posted Apr 8, 2020 Lalit Kumar 1,240 points
To see more, click for the full list of questions or popular tags.