MPRDC
10+ PhonePe Interview Questions and Answers
Q1. What is tha difference between .net framework and .net core framework
The .NET Framework is a Windows-only framework, while .NET Core is cross-platform and open-source.
The .NET Framework is a Windows-only framework, while .NET Core is cross-platform and open-source.
.NET Framework is a mature framework with a large number of libraries, while .NET Core is a lightweight framework with fewer libraries.
.NET Framework requires Windows to run, while .NET Core can run on Windows, Linux, and macOS.
The .NET Framework is not open-source, while .NET Core i...read more
Q2. What is the Difference between Synchronous and Asynchronous
Synchronous means waiting for a task to complete before moving on, while Asynchronous means not waiting for a task to complete before moving on.
Synchronous operations block the execution of code until the task is completed.
Asynchronous operations allow the code to continue executing while the task is being completed.
Synchronous operations are easier to understand and debug, but can cause performance issues.
Asynchronous operations are more complex, but can improve performance ...read more
Q3. What is tha overriding in c# with example
Overriding in C# is a feature that allows a derived class to provide a different implementation of a method that is already defined in its base class.
Overriding is used to achieve runtime polymorphism.
The method in the derived class must have the same name, return type, and parameters as the method in the base class.
The 'override' keyword is used to indicate that a method is intended to override a base class method.
The 'base' keyword is used to call the base class implementat...read more
Q4. What is tha iis and describ tha application pool
IIS is a web server software developed by Microsoft. Application pool is a feature in IIS that isolates web applications.
IIS stands for Internet Information Services and is used to host websites and web applications.
It is a web server software developed by Microsoft.
Application pool is a feature in IIS that isolates web applications from each other.
Each application pool runs as a separate process and has its own set of resources.
This isolation provides better security, reliab...read more
Q5. What is difference between string and StringBuilder
String is immutable while StringBuilder is mutable.
String is a sequence of characters that cannot be modified once created.
StringBuilder is a dynamic object that can be modified without creating a new object.
String is more memory efficient for small strings while StringBuilder is more efficient for large strings.
String concatenation creates a new string object each time while StringBuilder modifies the existing object.
Example: String str = "Hello"; StringBuilder sb = new Stri...read more
Q6. What tha difference between mvc and api
MVC is a design pattern for creating web applications, while API is a way to expose functionality of an application to other applications.
MVC is used for creating web applications that follow the Model-View-Controller pattern
API is used for exposing functionality of an application to other applications
MVC is focused on creating user interfaces and handling user input
API is focused on providing access to data and functionality
MVC is typically used for server-side rendering of ...read more
Q7. What is tha abstraction with example
Abstraction is the process of hiding complex implementation details and showing only necessary information.
Abstraction helps in reducing complexity and increasing efficiency.
It allows us to focus on what is important and ignore what is not.
For example, a car dashboard is an abstraction as it shows only necessary information like speed, fuel level, etc. and hides the complex workings of the car.
Abstraction can be achieved through interfaces, abstract classes, and encapsulation...read more
Q8. What is the thread in c#
Thread is a lightweight unit of a process that executes instructions concurrently with other threads.
Threads allow for parallel execution of code.
They share the same memory space as the process they belong to.
Thread class is used to create and manage threads.
Thread synchronization is important to avoid race conditions.
Examples of multithreaded applications include web servers and video games.
Q9. What is tha enum in c#
Enum is a value type that represents a set of named constants in C#.
Enums are used to define a set of named constants that represent a range of values.
Enums can be used to improve code readability and maintainability.
Enums can be defined with a specific underlying data type, such as int or byte.
Enums can have associated values and methods.
Example: enum Days { Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday }
Example: enum Colors : byte { Red = 1, Green = 2, Blue...read more
Q10. What is tha class and object
A class is a blueprint for creating objects, while an object is an instance of a class.
A class defines the properties and methods of an object
An object is created from a class using the 'new' keyword
Multiple objects can be created from a single class
Objects can interact with each other through their methods and properties
Q11. What is the collection in c#
Collection is a group of related objects of the same type that can be accessed and manipulated using methods.
Collections are used to store, retrieve, manipulate, and communicate aggregate data.
C# provides several built-in collection types such as List, Dictionary, Queue, Stack, etc.
Collections can be generic or non-generic, depending on whether they are type-safe or not.
Collections can be used to improve performance, simplify code, and enhance functionality.
Q12. What is the partial
Partial is a keyword in C# used to define partial classes, methods, and structures.
Partial classes allow splitting a class definition into multiple files.
Partial methods allow defining a method in one part of the class and implementing it in another part.
Partial structures allow splitting a structure definition into multiple files.
Partial keyword is also used with interfaces and namespaces.
More about working at MPRDC
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month