suresh g v


{ City } bangalore
< Country > india
* Profession * s e
User No # 14361
Total Questions Posted # 0
Total Answers Posted # 13

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

Users Marked my Answers as Correct # 163
Users Marked my Answers as Wrong # 57
Questions / { suresh g v }
Questions Answers Category Views Company eMail




Answers / { suresh g v }

Question { Siebel Systems, 10735 }

What does WSDL stand for?


Answer

It will provide Complete Description about WebService.
Through that another application can communicate with this
service based on the info. provided by the WSDL(Web Service
Description Language)

Is This Answer Correct ?    4 Yes 0 No

Question { HCL, 13043 }

Are private class-level variables inherited?


Answer

Yes Private Variables are inherited to the Derived Class.

But we can't access them on Derived Class

Is This Answer Correct ?    9 Yes 1 No


Question { IBM, 22540 }

Can you override private virtual methods?


Answer

we should not use Private Access Specefier for
VIRTUAL ,ABSTRACT ,INTERFACES

Is This Answer Correct ?    14 Yes 4 No

Question { Mind Tree, 8340 }

What?s an interface class?


Answer

Interfacess is a Collection of Method Prototypes.
These methods must be implemented in the Implemented Class.
Eg:
---
If we are having 10 methods in the Interface Class
All the 10 methods must be implemented in the Implemented
class.
Note:
-----
The main thing is by using The Interface Concept we can
acheive Multiple Inheritance in dotnet.

Is This Answer Correct ?    6 Yes 1 No

Question { Infosys, 7476 }

What is Custom attribute? How to create? Namespace? If I'm
having custom attribute in an assembly, how to say that name
in the code? What is Reflection in .NET?


Answer

Reflection::

It is used to get Class info. at the runtime.
The Class info. defines::
no. of
constructors,methods,isobject,isvalue,issealed,ispublic,....
.

This can be achieve through Reflection.

Is This Answer Correct ?    3 Yes 3 No

Question { 34157 }

How to convert a string into an Integer in ASP.net?


Answer

int.Parse parses the input (casts in a sense) to an integer
value however it will throw an exception if it cant do it if
the data provided is not numeric. you should use TryParse in
.NET 2.0 to see if it can parse it.

int a = Int.Parse("int");



Convert.ToInt32() converts the string data to a proper true
int32 value, and throws an exception if it can't convert the
value.


int a = Convert.Int32("String");

Is This Answer Correct ?    5 Yes 4 No

Question { Ksb, 30324 }

What's the difference between Dataset.clone and Dataset.copy?


Answer

dataset.Clone or Deep Copy :- It only copies structure,
does not copy
data.
dataset.Copy or Shallow Copy :- Copies both Structure and
data

Is This Answer Correct ?    34 Yes 11 No

Question { IBM, 28108 }

What?s the difference between Response.Write()
andResponse.Output.Write()?


Answer

R.W:: It writes to the browser
R.O.W :: It writes to the file

Is This Answer Correct ?    17 Yes 25 No

Question { TCS, 17698 }

what are the main advantage in .net?


Answer

It is not Completly Language Independent.
It is Partially Language Independent.
Using 3'rd party tools we can communicate with LINUX but
not with UNIX.
Those tools are not from Microsoft. So there is chance for
performace degrade.
Advantages::
-------------
Language Interopability(means .net supports 40 languages)
writing code in one .net language can be used in other .net
language.

Is This Answer Correct ?    12 Yes 3 No

Question { HCL, 8510 }

What happens when a reference to web service is added ?


Answer

A Proxy Class will be generated. When we add webreference
of webservice.
After that we can communicate with Proxy Class in order to
communicate with WebService

Is This Answer Correct ?    11 Yes 1 No

Question { HCL, 41747 }

How does Garbage collector(GC) works in .net


Answer

Garbage CollectorMark-sweep algorithm)
If there is any memory defeciency then only GC will called
by CLR.
Low priority thread its run on its own thread.
It calls JIT compiler.
It maintains Apps_route table there all the objects are
maintained.those will seen by garbage collector
3 types of objects:
1. Short Leaved Objects/young objects
 Objects which are less referenced.
2. Long Leaved Objects/Older Objects
Objects which referenced more
3. Oldest Objects
Objects which are globally accessed
It maintain these objects in to 3 Generations:
Gen0 Gen1 Gen3
promote to --> promote to -->
contains object1 contains object2 contains object3

First goes to Gen-0::
If any object is used then it swaps/promote that object to
Gen-1.otherwise it destroys that object immediately.
Same will happen for Gen-1
Still the memory is adequate then it goes to Gen-2
Still memory is adequate it raise exception
memory insufficient exception
This is called as Non-Deterministic Finalization.

GC destroys only Managed Objects only not UNManaged Objects
Determenistic Finalization queue.
In this
Supress Finalize:: in this destructors will not CALLED


UnManaged Objects:


1.ADO.Net
2.Networking/Socket Programming.
3.IO(File Handling)
4.RCW / CCW / PIS

All the classes can have
 Close()/dispose()

We have to call them after completion objects usage.

Is This Answer Correct ?    17 Yes 4 No

Question { NCR, 9113 }

what is soap?


Answer

Soap is a formatting protocal.
When we send data to the webservice the data will be passed
in network wire.
That data has to formatted by SOAP. and sends to the
service.
then the service will give response to that request . This
data is also formatted by Soap and give it to the client.

SOAP--> HTTP + XML

The format is XML because it is platform dependent . this
service is used by other applications .

Is This Answer Correct ?    22 Yes 0 No

Question { AG Technologies, 5785 }

version information is mentioned in which file


Answer

assemblyinfo.cs

Is This Answer Correct ?    9 Yes 0 No