Software Engineer Net Interview Questions

8,173 software engineer net interview questions shared by candidates

What is delegate, multicast delegate, relationship between event and delegate, SRP principal, DIP principal How to invoke action using different name in mvc action? Can we declare private method in controller? What is the use of declaring private method in controller? What are the action filters in MVC?
avatar

Software Developer(.NET)

Interviewed at Capgemini

4.2
Sep 22, 2018

What is delegate, multicast delegate, relationship between event and delegate, SRP principal, DIP principal How to invoke action using different name in mvc action? Can we declare private method in controller? What is the use of declaring private method in controller? What are the action filters in MVC?

class Program { static void Main(string[] args) { B obj = new B(); Console.ReadKey(); } } abstract class A { public A() { Console.WriteLine("This is the A class"); //calc(); } public abstract void calc(); } class B : A { public B() { Console.WriteLine("This is the B class"); } public override void calc() { Console.WriteLine("This is the abstract methode"); } } Questions: 1. What will be printed on the console? 2. what will be printed to the console if we remove this "//" before the calc() in the contractor of class A;
avatar

Junior C# and .NET developer

Interviewed at NiCE

3.9
Jun 6, 2024

class Program { static void Main(string[] args) { B obj = new B(); Console.ReadKey(); } } abstract class A { public A() { Console.WriteLine("This is the A class"); //calc(); } public abstract void calc(); } class B : A { public B() { Console.WriteLine("This is the B class"); } public override void calc() { Console.WriteLine("This is the abstract methode"); } } Questions: 1. What will be printed on the console? 2. what will be printed to the console if we remove this "//" before the calc() in the contractor of class A;

Coding Challenge: Given the attached list of names, write a function that prints all of the 2-name-pairs, that when combined, share letters with the following key ‘laheravtam’ (order of letters doesn't matter). Please submit a cleaned (remove compiled files, etc) & zipped source code folder with solution. Whatever language you want. If you have questions or are unsure if you understand the prompt, email Spencer (spencer.jones@cgi.com) For example: Names = [‘steve’,’alan’,’lee’,’harvey’,’nala’] Key = ‘alanlee’ Answer: (order of the pairs doesn’t matter) [‘alan’,’lee’] [‘lee’,’nala’] Example 2: Names = [‘steve’,’alan’,’lee’,’harvey’,’nala’] (same as above) Key = ‘laanlee’ (anagram of above key) Answer: [‘alan’,’lee’] [‘lee’,’nala’] Example 3: Names = ['a','b','c','ab','bc','ac'] Key = 'cba' Answer: ['ab','c'] ['a', 'bc'] ['ac','b'] '''
avatar

.NET Developer

Interviewed at CGI

3.7
Sep 16, 2024

Coding Challenge: Given the attached list of names, write a function that prints all of the 2-name-pairs, that when combined, share letters with the following key ‘laheravtam’ (order of letters doesn't matter). Please submit a cleaned (remove compiled files, etc) & zipped source code folder with solution. Whatever language you want. If you have questions or are unsure if you understand the prompt, email Spencer (spencer.jones@cgi.com) For example: Names = [‘steve’,’alan’,’lee’,’harvey’,’nala’] Key = ‘alanlee’ Answer: (order of the pairs doesn’t matter) [‘alan’,’lee’] [‘lee’,’nala’] Example 2: Names = [‘steve’,’alan’,’lee’,’harvey’,’nala’] (same as above) Key = ‘laanlee’ (anagram of above key) Answer: [‘alan’,’lee’] [‘lee’,’nala’] Example 3: Names = ['a','b','c','ab','bc','ac'] Key = 'cba' Answer: ['ab','c'] ['a', 'bc'] ['ac','b'] '''

Viewing 1291 - 1300 interview questions

Glassdoor has 8,173 interview questions and reports from Software engineer net interviews. Prepare for your interview. Get hired. Love your job.