Lead Net Developer Interview Questions

4,977 lead net developer interview questions shared by candidates

What will be printed to the Console at the end of this code? int global = 0; Thread t1 = new Thread(() => { int local = 0; while(global < 3) { local += 1; global += 1; } Console.WriteLine(local); }); Thread t2 = new Thread(() => { global += 1; }); t1.Start(); t2.Start();
avatar

Junior C# and .NET developer

Interviewed at NiCE

3.9
Jun 6, 2024

What will be printed to the Console at the end of this code? int global = 0; Thread t1 = new Thread(() => { int local = 0; while(global < 3) { local += 1; global += 1; } Console.WriteLine(local); }); Thread t2 = new Thread(() => { global += 1; }); t1.Start(); t2.Start();

1) What is Encapsulation and Polymorphism 2) Difference between Abstraction and Interface 3) Difference between IQueryable and IEnumerable 4) Explain Extension Methods, Anonymous method, Middleware 5) Write a C# program for reversing of the Whole String. 6) Write a C# program to print index of Array from given Array Of Numbers [2, 7, 11, 15] whose Sum is 9.
avatar

Dot Net Expert

Interviewed at HashedIn by Deloitte

4.1
Oct 3, 2024

1) What is Encapsulation and Polymorphism 2) Difference between Abstraction and Interface 3) Difference between IQueryable and IEnumerable 4) Explain Extension Methods, Anonymous method, Middleware 5) Write a C# program for reversing of the Whole String. 6) Write a C# program to print index of Array from given Array Of Numbers [2, 7, 11, 15] whose Sum is 9.

Viewing 4901 - 4910 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 4,977 interview questions and reports from Lead net developer interviews. Prepare for your interview. Get hired. Love your job.