Question:Which of the following is the correct way for numeric conversion in C#? 

A float y=343.45f; int x=(float)y; 

B float y=343.45f; int x=float y; 

C float y=343.45f; int x={float}y; 

D float y=343.45f; int x=[float]y; 

+ Answer
+ Report
Total Preview: 1124

Copyright © 2024. Powered by Intellect Software Ltd