i
Bizsense Solutions
Filter interviews by
I applied via LinkedIn and was interviewed before Nov 2023. There was 1 interview round.
Generics in programming allow for the creation of classes, interfaces, and methods that operate on data types without specifying the actual type at compile time.
Generics provide type safety by allowing the use of parameterized types.
They enable code reusability by writing generic algorithms that work with different data types.
Example: List
Conflict arises and implementing class must explicitly implement the method from both interfaces.
Conflict arises when implementing class implements both interfaces
Implementing class must explicitly implement the method from both interfaces
Example: Interface A and Interface B both have a method named 'foo', implementing class must provide implementation for 'foo' from both interfaces
Enums are a set of named constants representing a group of related values.
Enums in C# are value types that allow you to define a set of named constants.
Enums can be used to improve code readability and maintainability by giving meaningful names to integral values.
Example: enum Days { Monday, Tuesday, Wednesday, Thursday, Friday }
const and Readonly are used in C# to declare constant values, but Readonly can be assigned a value at runtime.
const keyword is used to declare constants at compile time
const values cannot be changed once assigned
Readonly keyword is used to declare constants whose value can be assigned at runtime
Readonly values can only be assigned in the constructor or at the time of declaration
The 'out' keyword is used in C# to pass arguments by reference, allowing the method to modify the value of the argument.
Used to pass arguments by reference in C#
Allows the method to modify the value of the argument
Must be assigned a value inside the method before returning
Indexers in C# allow objects to be indexed like arrays, enabling objects to be accessed using square brackets.
Indexers are special type of properties in C# that allow objects to be indexed like arrays.
They are defined using 'this' keyword followed by square brackets and the index parameters.
Indexers can be used to access elements of a collection or class using square brackets.
Example: public string this[int index] { ge...
Sealed class is a class that cannot be inherited. It is used to prevent derivation of a class.
Sealed classes are declared using the 'sealed' keyword.
They are often used when a class is not intended to be inherited or overridden.
Sealed classes can have private constructors to prevent instantiation.
Example: 'sealed class MyClass {}'
Managed code is code that is executed by the Common Language Runtime (CLR) in .NET framework.
Managed code is written in high-level languages like C#, VB.NET, etc.
It is compiled into Intermediate Language (IL) which is then executed by the CLR.
CLR provides services like memory management, security, exception handling, etc. for managed code.
Managed code runs in a managed environment where the runtime takes care of variou
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 C#
Example: public MyClass() : this(0) { }
Singleton Design Pattern ensures a class has only one instance and provides a global point of access to it.
Ensures a class has only one instance
Provides a global point of access to that instance
Commonly used in scenarios where only one instance of a class is needed, such as database connections or logging
Start_up class is a class in .NET framework used to configure services and middleware for an application.
Start_up class is used to configure services like dependency injection, middleware, and routing in an ASP.NET Core application.
It contains methods like ConfigureServices() to add services to the dependency injection container and Configure() to set up middleware pipeline.
Start_up class is typically found in the root...
Top trending discussions
I applied via Walk-in and was interviewed before Dec 2020. There were 3 interview rounds.
I applied via Naukri.com and was interviewed in Nov 2020. There were 5 interview rounds.
I applied via Recruitment Consultant and was interviewed in Mar 2021. There were 3 interview rounds.
I was interviewed in Mar 2021.
based on 1 interview
Interview experience
based on 1 review
Rating in categories
Software Developer
23
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Engineer
15
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Software Engineer
12
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Software Developer
7
salaries
| ₹0 L/yr - ₹0 L/yr |
Softwaretest Engineer
5
salaries
| ₹0 L/yr - ₹0 L/yr |
TCS
Infosys
Wipro
HCLTech