Premium Employer

i

This company page is being actively managed by Infosys Team. If you also belong to the team, you can get access from here

Infosys Verified Tick Work with us arrow

Compare button icon Compare button icon Compare

Filter interviews by

Infosys DOT NET Developer Interview Questions and Answers

Updated 29 Apr 2025

38 Interview questions

A DOT NET Developer was asked 2mo ago
Q. What are the data types of the object?
Ans. 

In .NET, object data types include value types, reference types, and special types like dynamic and nullable.

  • Value Types: Includes primitive types like int, float, and struct. Example: int age = 30;

  • Reference Types: Includes classes, arrays, and strings. Example: string name = 'John';

  • Dynamic Type: Allows for dynamic typing. Example: dynamic obj = 10; obj = 'Hello';

  • Nullable Types: Allows value types to be null. Exam...

A DOT NET Developer was asked 2mo ago
Q. Are we able to achieve 100% abstraction?
Ans. 

100% abstraction is theoretically unattainable in programming due to the need for some level of implementation detail.

  • Abstraction in programming allows hiding complex implementation details.

  • In .NET, interfaces and abstract classes provide abstraction but require some implementation.

  • Example: An interface 'IVehicle' defines methods like 'Drive()' without specifying how they work.

  • Complete abstraction would mean no im...

DOT NET Developer Interview Questions Asked at Other Companies

asked in Infosys
Q1. What is the difference between Windows application development an ... read more
Q2. How many ways are there to send data to a controller from a View?
Q3. What is Trigger,Store procedure, join in sql query and their synt ... read more
asked in Infosys
Q4. What are the components of the .NET Framework and their types?
asked in Infosys
Q5. What kind of database have you used in your projects?
A DOT NET Developer was asked 2mo ago
Q. Explain Dependency Injection (DI).
Ans. 

Dependency Injection (DI) is a design pattern that promotes loose coupling and enhances testability in software development.

  • DI allows a class to receive its dependencies from an external source rather than creating them internally.

  • It improves code maintainability by reducing the dependency between components.

  • Example: Instead of a class instantiating a database connection, it receives the connection through its con...

A DOT NET Developer was asked 7mo ago
Q. Describe a scenario-based approach to sending large files from an API with better performance.
Ans. 

Optimize large file transfers from an API using streaming, compression, and chunking techniques.

  • Use HTTP/2 for multiplexing multiple streams, reducing latency.

  • Implement file streaming to send data in chunks rather than loading the entire file into memory.

  • Utilize Gzip or Brotli compression to reduce file size before transmission.

  • Consider using a Content Delivery Network (CDN) to cache and serve large files closer t...

🔥 Asked by recruiter 2 times
A DOT NET Developer was asked 7mo ago
Q. What are the differences between boxing and unboxing?
Ans. 

Boxing is the process of converting a value type to a reference type, while unboxing is the process of converting a reference type to a value type.

  • Boxing is implicit, unboxing is explicit

  • Boxing creates a new object on the heap, unboxing retrieves the value from the object

  • Boxing is slower than unboxing

  • Example: int num = 10; object obj = num; // Boxing, int num2 = (int)obj; // Unboxing

🔥 Asked by recruiter 3 times
A DOT NET Developer was asked 7mo ago
Q. What are the differences between an abstract class and an interface?
Ans. 

Abstract class can have implementation details while interface only contains method signatures.

  • Abstract class can have constructors, fields, and methods with implementation details.

  • Interface can only have method signatures, no implementation details.

  • A class can implement multiple interfaces but can only inherit from one abstract class.

  • Example: Abstract class 'Animal' with method 'eat()' and Interface 'Flyable' wit...

A DOT NET Developer was asked 7mo ago
Q. What is an aggregate function?
Ans. 

Aggregate functions perform a calculation on a set of values and return a single value.

  • Aggregate functions include functions like SUM, AVG, COUNT, MIN, and MAX.

  • They are commonly used in SQL queries to perform calculations on groups of rows.

  • For example, you can use the SUM function to calculate the total sales amount for a group of products.

Are these interview questions helpful?
A DOT NET Developer was asked 7mo ago
Q. What is the readonly keyword?
Ans. 

readonly keyword is used in C# to declare that a field can only be assigned a value during initialization or in a constructor.

  • readonly keyword can only be used on fields, not properties.

  • The value of a readonly field can only be changed in the constructor of the class.

  • Using readonly fields can help ensure that certain values remain constant throughout the lifetime of an object.

🔥 Asked by recruiter 2 times
A DOT NET Developer was asked 7mo ago
Q. What is the difference between a procedure and a function?
Ans. 

Procedure is a set of instructions that performs a specific task, while function returns a value.

  • Procedure does not return a value, while function does.

  • Functions can be called from within SQL statements, while procedures cannot.

  • Functions can be used in SELECT, WHERE, and HAVING clauses, while procedures cannot.

  • Example: CREATE PROCEDURE myProcedure AS ... vs CREATE FUNCTION myFunction() RETURNS ...

  • Example: EXECUTE ...

A DOT NET Developer was asked 7mo ago
Q. What is the difference between clustered and non-clustered indexes?
Ans. 

Clustered index physically orders the data in the table, while non-clustered index does not.

  • Clustered index determines the physical order of data in the table, while non-clustered index does not.

  • Clustered index is faster for retrieval of data, while non-clustered index is faster for retrieval of specific data.

  • Clustered index can only have one per table, while non-clustered index can have multiple per table.

Infosys DOT NET Developer Interview Experiences

34 interviews found

Interview experience
2
Poor
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
-

I appeared for an interview in Jan 2025.

Round 1 - Technical 

(1 Question)

  • Q1. Dot net basic and intermediate question
Round 2 - Behavioral 

(1 Question)

  • Q1. Techical round genral topic how to handle situation
  • Ans. 

    Handling challenging situations requires effective communication, problem-solving, and adaptability to ensure successful outcomes.

    • Stay calm and assess the situation before reacting.

    • Communicate clearly with all stakeholders involved.

    • Identify the root cause of the issue to address it effectively.

    • Develop a plan of action and involve team members for input.

    • Be adaptable and open to feedback to improve the solution.

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Both round done same day with different time I cleared Technical round but manager round they eliminated me I said my point view some scenario based questions but he not accepted my anaswers
Interview experience
1
Bad
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(1 Question)

  • Q1. No question as interview cancelled

Interview Preparation Tips

Interview preparation tips for other job seekers - The HR department exhibited unprofessional behavior by postponing a scheduled event on February 8th just four hours before the start time. Despite following up with HR, I received no response. Additionally, I received a survey link to select a time slot multiple times, and after selecting March 8th, I checked the portal only to find that the selection was not recorded.

DOT NET Developer Interview Questions & Answers

user image gayatri malge

posted on 16 Sep 2024

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
More than 8 weeks
Result
No response

I applied via Naukri.com and was interviewed in Aug 2024. There was 1 interview round.

Round 1 - One-on-one 

(9 Questions)

  • Q1. What is the extension method
  • Ans. 

    Extension methods allow adding new methods to existing types without modifying the original type

    • Extension methods are static methods that can be called as if they were instance methods of the extended type

    • They are defined in static classes and must be in the same namespace as the extended type

    • They are commonly used to add functionality to existing types or interfaces without modifying them directly

  • Answered by AI
  • Q2. What is difference between union and union all
  • Ans. 

    Union combines and removes duplicates, Union All combines without removing duplicates.

    • Union removes duplicates from the result set, while Union All does not.

    • Union is slower than Union All because it has to perform an additional step to remove duplicates.

    • Union is used when you want to combine two result sets and remove duplicates, while Union All is used when you want to combine two result sets without removing duplicat...

  • Answered by AI
  • Q3. What is constructor chaining
  • Ans. 

    Constructor chaining is the process of calling one constructor from another constructor within the same class.

    • Allows for reusing code and avoiding duplication

    • Can be achieved using 'this' keyword in the constructor

    • Example: public MyClass(int x) : this(x, 0) {}

  • Answered by AI
  • Q4. What is CTE and explain
  • Ans. 

    CTE stands for Common Table Expressions, which is a temporary result set that can be referenced within a SELECT, INSERT, UPDATE, or DELETE statement.

    • CTEs are defined using the WITH keyword in SQL.

    • They help improve readability and maintainability of complex queries.

    • CTEs can be recursive, allowing for hierarchical data querying.

    • Example: WITH CTE AS (SELECT * FROM table_name) SELECT * FROM CTE;

    • Example: WITH RECURSIVE CTE ...

  • Answered by AI
  • Q5. What is constructor
  • Ans. 

    A constructor is a special method in a class that is automatically called when an object of that class is created.

    • Constructors have the same name as the class they belong to.

    • They are used to initialize the object's state.

    • Constructors can be parameterized or default (no parameters).

    • Example: public class Person { public Person(string name) { this.Name = name; } }

  • Answered by AI
  • Q6. How to send bulk of data through db
  • Ans. 

    Use bulk insert or batch processing to send large amounts of data through the database.

    • Use bulk insert operations provided by the database management system.

    • Consider using batch processing techniques to optimize performance.

    • Use stored procedures or parameterized queries for efficient data transfer.

  • Answered by AI
  • Q7. Which design pattern do you used in your project
  • Ans. 

    I have used the MVC (Model-View-Controller) design pattern in my project.

    • Separates the application into three main components: Model, View, and Controller

    • Promotes code reusability, modularity, and maintainability

    • Example: ASP.NET MVC framework

  • Answered by AI
  • Q8. What are the characteristics of singleton pattern and how to use
  • Ans. 

    Singleton pattern ensures a class has only one instance and provides a global point of access to it.

    • Characteristics include private constructor, static instance variable, static method to access instance, lazy initialization, and thread safety.

    • Example: public class Singleton { private static Singleton instance; private Singleton() {} public static Singleton getInstance() { if (instance == null) { instance = new Singlet...

  • Answered by AI
  • Q9. Write a linq to fetch the data from db table(students) and data (studentid) should be in asending rder
  • Ans. 

    Use LINQ to fetch data from the 'students' table in ascending order of 'studentid'.

    • Use LINQ query syntax or method syntax to retrieve data from the 'students' table.

    • Order the data by 'studentid' in ascending order using the 'OrderBy' or 'OrderByDescending' method.

    • Ensure that the LINQ query is executed against the database to fetch the data.

  • Answered by AI

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
-
Result
-

I applied via Naukri.com and was interviewed in Oct 2024. There was 1 interview round.

Round 1 - Technical 

(4 Questions)

  • Q1. What is oops concept
  • Ans. 

    OOPs (Object-Oriented Programming) is a programming paradigm based on the concept of objects, which can contain data and code.

    • OOPs focuses on creating reusable code and organizing it into classes and objects.

    • Key concepts include encapsulation, inheritance, polymorphism, and abstraction.

    • Encapsulation involves bundling data and methods that operate on the data into a single unit.

    • Inheritance allows a class to inherit prop...

  • Answered by AI
  • Q2. What is routing
  • Ans. 

    Routing is the process of selecting a path for network traffic to travel from source to destination.

    • Routing determines the best path for data packets to travel on a network

    • It involves making decisions based on routing algorithms and network protocols

    • Examples include IP routing in the internet and routing tables in routers

  • Answered by AI
  • Q3. Solid principles
  • Q4. Difference between clustered and non clustered
  • Ans. 

    Clustered index physically orders the data in the table, while non-clustered index does not.

    • Clustered index determines the physical order of data in the table, while non-clustered index does not.

    • Clustered index is faster for retrieval of data, while non-clustered index is faster for retrieval of specific data.

    • Clustered index can only have one per table, while non-clustered index can have multiple per table.

  • Answered by AI

Skills evaluated in this interview

DOT NET Developer Interview Questions & Answers

user image konka malathi

posted on 6 Nov 2024

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Assignment 

Apti, reasoning and verbal communication

Round 2 - Technical 

(2 Questions)

  • Q1. What is CLR ?
  • Ans. 

    CLR stands for Common Language Runtime, it is the virtual machine component of Microsoft's .NET framework.

    • CLR is responsible for managing the execution of .NET programs.

    • It provides services such as memory management, exception handling, and security.

    • CLR compiles the intermediate language code into native code using Just-In-Time (JIT) compilation.

    • It allows different languages to be used within the .NET framework, as lon...

  • Answered by AI
  • Q2. Difference between Kestrel and IIS
  • Ans. 

    Kestrel is a cross-platform web server while IIS is a Windows-only web server.

    • Kestrel is a lightweight, open-source web server developed by Microsoft and optimized for ASP.NET Core applications.

    • IIS (Internet Information Services) is a full-featured web server developed by Microsoft for Windows servers.

    • Kestrel can be used as a standalone server or behind a reverse proxy like IIS or Nginx.

    • IIS provides additional features...

  • Answered by AI

DOT NET Developer Interview Questions & Answers

user image VAISHNAVI TANDLE

posted on 15 Aug 2024

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Oops concepts in c#
  • Ans. 

    Oops concepts in C# include inheritance, polymorphism, encapsulation, and abstraction.

    • Inheritance allows a class to inherit properties and behavior from another class.

    • Polymorphism allows objects to be treated as instances of their parent class.

    • Encapsulation hides the internal state of an object and only exposes necessary functionality.

    • Abstraction allows classes to define abstract methods that must be implemented by sub...

  • Answered by AI
  • Q2. What is difference between.net and .net core
  • Ans. 

    The main difference between .NET and .NET Core is that .NET Core is a cross-platform, open-source framework while .NET is a Windows-only framework.

    • NET Core is cross-platform and can run on Windows, macOS, and Linux, while .NET is limited to Windows.

    • .NET Core is open-source and has a more modular design compared to the monolithic .NET framework.

    • .NET Core is optimized for microservices and containerized applications.

    • Both...

  • Answered by AI
Round 2 - Technical 

(2 Questions)

  • Q1. One coding questions given to me
  • Q2. SQL based one query asked

Skills evaluated in this interview

DOT NET Developer Interview Questions & Answers

user image Navika Jaiswal

posted on 7 Aug 2024

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
No response

I applied via Referral and was interviewed in Jul 2024. There were 2 interview rounds.

Round 1 - Technical 

(1 Question)

  • Q1. There are two technical rounds Questions of first rounds - routing, inheritance , delete duplicate records query , web API methods etc. second rounds - some scenario based questions and technical question...
Round 2 - Technical 

(1 Question)

  • Q1. Scenario based questions and which design pattern have you used in your projects.
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Company Website and was interviewed in Aug 2024. There was 1 interview round.

Round 1 - Technical 

(1 Question)

  • Q1. What is application pool,what is IIS,how to host app in dev env,abstarction vs encapsulation,how to optimize databse to improve performance,where to start check is application crashses
  • Ans. 

    Application pool is a group of one or more worker processes, IIS is a web server, hosting app in dev env involves setting up IIS, abstraction focuses on hiding implementation details, encapsulation bundles data and methods together, optimizing database involves indexing and query optimization, check for application crashes in event logs or monitoring tools.

    • Application pool is a group of one or more worker processes tha...

  • Answered by AI

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I appeared for an interview in Mar 2025, where I was asked the following questions.

  • Q1. Explain about the solid principles
  • Ans. 

    SOLID principles are five design principles aimed at making software designs more understandable, flexible, and maintainable.

    • S - Single Responsibility Principle: A class should have one reason to change. Example: A class handling user data should not also handle logging.

    • O - Open/Closed Principle: Software entities should be open for extension but closed for modification. Example: Use interfaces to add new functionaliti...

  • Answered by AI
  • Q2. What all are the data types of the object
  • Ans. 

    In .NET, object data types include value types, reference types, and special types like dynamic and nullable.

    • Value Types: Includes primitive types like int, float, and struct. Example: int age = 30;

    • Reference Types: Includes classes, arrays, and strings. Example: string name = 'John';

    • Dynamic Type: Allows for dynamic typing. Example: dynamic obj = 10; obj = 'Hello';

    • Nullable Types: Allows value types to be null. Example: ...

  • Answered by AI
  • Q3. Explain about the DI?
  • Ans. 

    Dependency Injection (DI) is a design pattern that promotes loose coupling and enhances testability in software development.

    • DI allows a class to receive its dependencies from an external source rather than creating them internally.

    • It improves code maintainability by reducing the dependency between components.

    • Example: Instead of a class instantiating a database connection, it receives the connection through its construc...

  • Answered by AI
  • Q4. Are we able to achieve 100% abstraction?
  • Ans. 

    100% abstraction is theoretically unattainable in programming due to the need for some level of implementation detail.

    • Abstraction in programming allows hiding complex implementation details.

    • In .NET, interfaces and abstract classes provide abstraction but require some implementation.

    • Example: An interface 'IVehicle' defines methods like 'Drive()' without specifying how they work.

    • Complete abstraction would mean no impleme...

  • Answered by AI
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Naukri.com and was interviewed in May 2024. There was 1 interview round.

Round 1 - Technical 

(4 Questions)

  • Q1. What is the Function of Object?
  • Ans. 

    The function of an object is to store data and behavior related to a specific entity in a program.

    • Objects store data in the form of properties

    • Objects can have methods which define behavior

    • Objects can be used to model real-world entities like cars, employees, etc.

    • Objects can be instantiated from classes or created dynamically

  • Answered by AI
  • Q2. Difference between procedure and function?
  • Ans. 

    Procedure is a set of instructions that performs a specific task, while function returns a value.

    • Procedure does not return a value, while function does.

    • Functions can be called from within SQL statements, while procedures cannot.

    • Functions can be used in SELECT, WHERE, and HAVING clauses, while procedures cannot.

    • Example: CREATE PROCEDURE myProcedure AS ... vs CREATE FUNCTION myFunction() RETURNS ...

    • Example: EXECUTE myPro...

  • Answered by AI
  • Q3. What is Aggregate function?
  • Ans. 

    Aggregate functions perform a calculation on a set of values and return a single value.

    • Aggregate functions include functions like SUM, AVG, COUNT, MIN, and MAX.

    • They are commonly used in SQL queries to perform calculations on groups of rows.

    • For example, you can use the SUM function to calculate the total sales amount for a group of products.

  • Answered by AI
  • Q4. What is readonly?
  • Ans. 

    readonly keyword is used in C# to declare that a field can only be assigned a value during initialization or in a constructor.

    • readonly keyword can only be used on fields, not properties.

    • The value of a readonly field can only be changed in the constructor of the class.

    • Using readonly fields can help ensure that certain values remain constant throughout the lifetime of an object.

  • Answered by AI

Interview Preparation Tips

Topics to prepare for Infosys DOT NET Developer interview:
  • C#
  • ASP.Net MVC
  • MS SQL
Interview preparation tips for other job seekers - Prepare well on basics of C#, MVC and Sql. and understand the concepts well.

Skills evaluated in this interview

What people are saying about Infosys

View All
schedule2
Verified Icon
3d
works at
Cognizant
Salary expectation
I have 5+ years of experience in springboot microservices, currently working in CTS and having 10L CTC , wanted to switch in Infosys or Accenture like companies, how much should I ask for 15L-18L ? Just worried if I ask more they can reject my application, please help me with some numbers
Got a question about Infosys?
Ask anonymously on communities.

Infosys Interview FAQs

How many rounds are there in Infosys DOT NET Developer interview?
Infosys interview process usually has 1-2 rounds. The most common rounds in the Infosys interview process are Technical, Resume Shortlist and HR.
How to prepare for Infosys DOT NET Developer interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at Infosys. The most common topics and skills that interviewers at Infosys expect are .NET, ASP.NET, C#, .Net and ASP.Net.
What are the top questions asked in Infosys DOT NET Developer interview?

Some of the top questions asked at the Infosys DOT NET Developer interview -

  1. What is the difference between windows application development and web based de...read more
  2. what is the components of dotnetframework which ty...read more
  3. What kind of database you used in proje...read more
How long is the Infosys DOT NET Developer interview process?

The duration of Infosys DOT NET Developer interview process can vary, but typically it takes about less than 2 weeks to complete.

Tell us how to improve this page.

Overall Interview Experience Rating

3.9/5

based on 31 interview experiences

Difficulty level

Easy 7%
Moderate 93%

Duration

Less than 2 weeks 71%
2-4 weeks 7%
4-6 weeks 14%
More than 8 weeks 7%
View more
Join Infosys Creating the next opportunity for people, businesses & communities
Infosys DOT NET Developer Salary
based on 209 salaries
₹2.7 L/yr - ₹10.5 L/yr
13% more than the average DOT NET Developer Salary in India
View more details

Infosys DOT NET Developer Reviews and Ratings

based on 19 reviews

3.7/5

Rating in categories

3.5

Skill development

3.8

Work-life balance

3.1

Salary

4.1

Job security

3.6

Company culture

2.6

Promotions

3.4

Work satisfaction

Explore 19 Reviews and Ratings
Dot Net Developer-STG(P)

Hyderabad / Secunderabad,

Chennai

+1

5-10 Yrs

Not Disclosed

Dot Net Developer-STG(P)

Hyderabad / Secunderabad,

Chennai

+1

10-15 Yrs

Not Disclosed

Dot Net Developer - n

Pune,

Chennai

+1

9-14 Yrs

Not Disclosed

Explore more jobs
Technology Analyst
54.7k salaries
unlock blur

₹4.8 L/yr - ₹10 L/yr

Senior Systems Engineer
53.7k salaries
unlock blur

₹2.5 L/yr - ₹6.3 L/yr

Technical Lead
35k salaries
unlock blur

₹7.3 L/yr - ₹20 L/yr

System Engineer
32.5k salaries
unlock blur

₹2.4 L/yr - ₹5.3 L/yr

Senior Associate Consultant
31k salaries
unlock blur

₹8.1 L/yr - ₹14 L/yr

Explore more salaries
Compare Infosys with

TCS

3.6
Compare

Wipro

3.7
Compare

Cognizant

3.7
Compare

Accenture

3.8
Compare
write
Share an Interview