Interviewer And Interviewee Guide

C# (Sharp) Programming Language Interview Question:

directcast(123.34,integer) - should it throw an error? Why or why not?

Submitted by: Administrator
It would throw an InvalidCast exception as the runtime type of 123.34 (double) doesnt match with Integer.
Submitted by: Administrator

Read Online C# (Sharp) Programming Language Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.