class CA { } class CB : CA { } class Program { static void Main() { CA a = new CA(); CB b = a as CB; } } What happens of the this code is compiled

 Posted by deccansoft on 9/20/2010 | Category: C# Interview questions | Views: 1325
Select from following answers:
  1. Compilation Error
  2. Runtime Exception
  3. Neither of them

Show Correct Answer


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response