Interviews17 answers
What result would print from the following code snippet Console.WriteLine("1234".GetType()); A:) Application won't compile B:) 1234 System.String C:) System.String D:) None of above
17 Answers
D
Gulam RasulPosted Feb 26, 2019, 9:13 PM EST
C
mohammad imranPosted Feb 1, 2018, 7:37 AM EST
System.String
Mahen SinghPosted Aug 21, 2017, 9:41 PM EDT
I am looking to hire a .net Web development team lead in Lee Summit, MO.(USA) .net experience, TFS, leadership and web service experience is required. If you know anyone who fits this senior level role, please let me know! Send resumes to [email protected] , thanks!
Juliana BuonannoPosted Jun 23, 2015, 12:58 PM EDT
C:) System.String
sonu kumarPosted Jun 10, 2015, 5:27 AM EDT
C
Manish SrivastavaPosted Feb 25, 2015, 8:12 AM EST
c
Hari Prakash BalineniPosted Feb 19, 2015, 3:11 AM EST
System.String
Rajat JainPosted Jan 15, 2015, 3:36 AM EST
B:) System.String
nisheeth MathurPosted Jan 14, 2015, 9:29 PM EST
@SURESH MOGUDALA
Good explanation.
Kanniyappan KrishPosted Jan 12, 2015, 8:00 PM EST
GetType method will returns the type of Parameter.you have Placed string type so It will returns the System.String. If you pass 123.GetType() will returns System.Int32.
Good one.
Suresh MogudalaPosted Jan 12, 2015, 6:29 PM EST
C:)System.String
saswat baralPosted Jan 10, 2015, 7:55 PM EST
System.String
Munesh SharmaPosted Jan 7, 2015, 1:58 AM EST
@amit ghuge: Please check the answer before posting.. Answer is System.String
Please run the above code and see result would be System.String
Pramod ThakurPosted Dec 25, 2014, 1:43 AM EST
Answer would be B e.g 1234 System.String
Amit GhugePosted Dec 23, 2014, 1:45 AM EST
Answer would be B e.g 1234 System.String
Amit GhugePosted Dec 23, 2014, 1:45 AM EST
C:) System.String
Pramod ThakurPosted Dec 13, 2014, 8:32 PM EST




