Select the lines that will compile successfully:
 
int i = "s";                              //1
 object o = 5;                            //2 
 object o2 = "123";                        //3 
 object o3 = delegate() { return 0; }   //4
 Delegate d = delegate() { return 0; } //5
  
Explanation
Get an explanation when it's available:

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Keep exploring
C# quizzes
Cosmo
Sign Up Now
or Subscribe for future quizzes