mahesh kotekar


{ City } bangalore
< Country > india
* Profession * software engineer
User No # 42920
Total Questions Posted # 0
Total Answers Posted # 19

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 252
Users Marked my Answers as Wrong # 55
Questions / { mahesh kotekar }
Questions Answers Category Views Company eMail




Answers / { mahesh kotekar }

Question { 5771 }

Difference between ASP Session and ASP.NET Session?


Answer

And also Asp.net we have different Mechanism to save the
session data.

1. In Process
2. State Server
3. SQL Server

Is This Answer Correct ?    1 Yes 2 No

Question { 9190 }

What is CLR? How it will work?


Answer

1.CLR stands for Common Language Runtime.
2.CLS and CTS are the subtypes of CLR
3.It converts managed program into MSIL
4. One runtime environment all managed languages.

Is This Answer Correct ?    6 Yes 4 No


Question { 33514 }

What is MSIL, IL, CTS?


Answer

MSIL stands for Microsoft Intermediate Language in short
MSIL or IL(Intermediate Language). When you compile a
program the CLR will compile the code into MSIL code. which
will then be included in the assembly[exe/dll]. When you run
the program in client place. The clr will manage to convert
the MSIL into machine language by a process called Jitting.

CTS =? Common Type Specifications. A set of specifications
defined by the dotnet framework. Every type in dotnet should
comploy with CTS specifications. For example
int16,int32,int64 in C# belongs to dotnet type Int and
integers in VB.net is asso same as dotnet type Int. This
will help in Interlanguage Interoperation :) Correct me if
am wrong!!!!

Is This Answer Correct ?    22 Yes 19 No

Question { TCS, 26584 }

Which is the base class for .net Class library?


Answer

system is a namespace and object is the class
system.object is the base class for .net class library or we
can say root object

Is This Answer Correct ?    75 Yes 6 No

Question { MMTS, 14187 }

What is side by side Execution ?


Answer

Side by side execution means. two or more same dll with
different versions reside in machine which is stored in the
windows/assembly folder, the client application use this dll
depending on there requirement. old application use the old
dll and new application build with new dll will use the new
both applications can run that is called side by side executtion

Is This Answer Correct ?    14 Yes 2 No

Question { Microsoft, 17107 }

How do you implement multiple inheritance in .NET?


Answer

The actual answer is. We cannot provide multiple
inheritance in C#. Multiple inheritance means having a
common implementation from two base class derived in the
child class which is not possible. Using interface we just
provide the prototype which we can implement in the derived
classing which provides a mimic of multiple inheritance. If
am wrong please let me know.
Thanks And Regards
Mahesh Kotekar

Is This Answer Correct ?    13 Yes 3 No

Question { Kanbay, 11189 }

If we write return statement in finally block will it works
fine or throws any error?


Answer

Answer Is NO. We cannot have return in finally block...
we get the following error.
Control cannot leave the body of a finally clause
returns void, a return keyword must not be followed by an
object expression

try
{
First.DoSomething1();
First.DoSomething2();

}
catch (Exception)
{

throw;
}
finally
{ return 0; }

Is This Answer Correct ?    5 Yes 3 No

Question { Honeywell, 9997 }

Tell me about the internal working of Garbage collector?


Answer

GC = Garbage Collector. Its non-deterministic process. When
there are no references to an object and when the system
memory is too low. Then GC runs to deallocate those memory
for non refernced objects. It also moves objects from one
memory allocation to another.

Is This Answer Correct ?    0 Yes 0 No

Question { Honeywell, 15840 }

what is data access layer?


Answer

DAL stands for Data Access Layer one of the design patterns
used in application Design architecture. DAL used in
UI ->BL->DAL->DB

The IO from UI is passed to BL. The BL talks with DAL for
retriving and updating values in the database. DAL forms a
bridge between the Buisness Logic (BL) and the Database (DB).

Is This Answer Correct ?    2 Yes 0 No

Question { 5857 }

What is meant by role based security?
when we use this one


Answer

Role based security is used for applications which involves different user types with different access rights. This can be achieved in ASP.net with FORMS authentication and Membership Provider. It can be configured using ASP.NET Configuration. Where different roles are created by the application developer. Based on the different roles different access level can be maintained. Roles for example Admin,Supervisor,EventManager,Guest,User,ConfigManager etc.. can be created and access can be restricted depending on different roles in asp.net configuration settings.

Is This Answer Correct ?    0 Yes 0 No

Question { Bosch, 23896 }

what is a round trip?What is a postback?


Answer

Round Trip = When the client/Browser. sends data to the
server and the response from the server returns back to the
client/browser is 1 round trip.

Is This Answer Correct ?    17 Yes 1 No

Question { Aurigo, 6445 }

define a bug


Answer

A Software Bug is defined as the unidentified logical
change in the flow of program, Which could appear during
testing or after implementation of the actual project. And
can be identified by debugging the program and tracing.

Is This Answer Correct ?    0 Yes 0 No

Question { Arvato, 7119 }

What is the use of dataadapter ?


Answer

DataAdapter is an object which creates a bridge between the
database and front end. It opens and closes connections
automatically. Fills the dataset with table and values from
database and update the database from dataset.

Is This Answer Correct ?    13 Yes 2 No

Question { Encora, 8724 }

Can we have more than 1 partial classes in the same file?


Answer

It is possible to have partial class in same class file.

Partial Class Concept was used in dotnet to provide
practically dividing the class into two or multiple physical
files. In order to keep the complexity of class
simple.During compilation the partial classes join together
to form a single class and works as normal class
partial class First
{
public static void DoSomething1()
{
Console.WriteLine("Executing from First Part of
Class First");
}
}
partial class First
{
public static void DoSomething2()
{
Console.WriteLine("executing from second part of
class First");
}
}

Is This Answer Correct ?    9 Yes 0 No

Question { 4306 }

which datatype i have to use we i need dynamic size.for eg.
empname .in first row it have only five chars.but next row it
have 100 chars.


Answer

When there is a requirement of storing different length of
characters in an array . We can use jagged arrays.
int[][] jagged = new int[3][];
jagged[0] = new int { 1,2,3 };
jagged[1] = new int { 1, 2, 3, 4, 5 };
jagged[3] = new int { 1, 2, 3, 4, 5, 6, 7, 8,9};

Is This Answer Correct ?    3 Yes 1 No

 [1]   2    Next