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
D/W array is a dynamic array in .Net that can grow or shrink in size. ArrayList is a collection class that can store objects of any type.
D/W array is a resizable array that automatically adjusts its size as elements are added or removed.
ArrayList is a collection class that can store objects of any type, allowing for flexibility in data storage.
Example: D/W array - string[] myArray = new string[5]; ArrayList - ArrayList
readonly variables can be assigned a value either at the time of declaration or in the constructor, while const variables must be assigned a value at the time of declaration and cannot be changed.
readonly variables can be assigned a value at runtime, while const variables must be assigned a value at compile time
readonly variables can be assigned a value in the constructor, while const variables cannot
const variables ar...
const is compile-time constant, while readonly is runtime constant.
const values are determined at compile time and cannot be changed during runtime
readonly values can be assigned a value either at the declaration or in the constructor and can be changed at runtime
const is used for values that are known at compile time, like mathematical constants
readonly is used when the value needs to be initialized at runtime, like d
I applied via LinkedIn and was interviewed in Nov 2024. There was 1 interview round.
Program to calculate factorial of a number using for loop
Initialize a variable to store the factorial result
Use a for loop to iterate from 1 to the given number
Multiply the current value with the factorial result in each iteration
Return the factorial result
I applied via Company Website and was interviewed in May 2024. There was 1 interview round.
Debugging techniques involve using logs to identify and fix issues in code.
Types of logs include console logs, file logs, event logs, and trace logs.
Debugging techniques include using breakpoints, stepping through code, and analyzing error messages.
Logging frameworks like log4net and NLog can be used to generate logs for debugging purposes.
I applied via Campus Placement
30 min aptitude quetiobs
2 coding questions where asked i simple logics
Interview experience
based on 1 review
Rating in categories
Software Developer
24
salaries
| ₹4.1 L/yr - ₹9.5 L/yr |
Software Engineer
15
salaries
| ₹4 L/yr - ₹10.1 L/yr |
Senior Software Engineer
12
salaries
| ₹6.7 L/yr - ₹16 L/yr |
Senior Software Developer
7
salaries
| ₹5.9 L/yr - ₹11.5 L/yr |
Softwaretest Engineer
5
salaries
| ₹4.1 L/yr - ₹4.6 L/yr |
TCS
Infosys
Wipro
HCLTech