Software Engineer Net Developer Interview Questions

8,170 software engineer net developer interview questions shared by candidates

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 1301 - 1310 interview questions

See Interview Questions for Similar Jobs

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