Applications Developer Interview Questions

6,897 applications developer interview questions shared by candidates

private static string a = "first"; static void Method(string a) { a = "second"; } static void Main(string[] args) { Console.WriteLine(a); Method(a); Console.WriteLine(a); } What would be the output of the above? and what to do change it?
avatar

Senior Applications Developer

Interviewed at RBC

3.9
Mar 10, 2018

private static string a = "first"; static void Method(string a) { a = "second"; } static void Main(string[] args) { Console.WriteLine(a); Method(a); Console.WriteLine(a); } What would be the output of the above? and what to do change it?

Viewing 861 - 870 interview questions

Glassdoor has 6,897 interview questions and reports from Applications developer interviews. Prepare for your interview. Get hired. Love your job.