rasik bihari


{ City } ghaziabad
< Country > india
* Profession * sr. software engineer
User No # 54079
Total Questions Posted # 0
Total Answers Posted # 4

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

Users Marked my Answers as Correct # 21
Users Marked my Answers as Wrong # 14
Questions / { rasik bihari }
Questions Answers Category Views Company eMail




Answers / { rasik bihari }

Question { 5362 }

How to make a class not inheritable other than sealed?


Answer

I don't agree with this (Answer # 1) as Making the class as
private will prevent it from even being initialized or
instantiated. I don't have the answer myself :-)

Is This Answer Correct ?    0 Yes 0 No

Question { 9952 }

What is the difference b/w Arry.copy() and array.clone()
method?


Answer

Array.Copy() is deep copy and Array.clone() is shallow copy.

Is This Answer Correct ?    2 Yes 1 No


Question { 7227 }

WCF:Is there an error in the Msmq address
the "net.msmq://MyHost/private$/MyQueue"?


Answer

Correct format is : "net.msmq://MyHost/private/MyQueue"
where I've assumed the following :

- MyHost is your machine name
- MyQueue is name of your private MSMQ name

Only problem in your format was the '$' sign. Everything
else was good

Is This Answer Correct ?    4 Yes 1 No

Question { R Systems, 8438 }

Which collection will you use to store different types of
objects collection like... int, employee, student, object
etc.


Answer

I would use array list. Every element in an array list is
of object type. Since object class is base class of all the
types in .net or any custom class so it will be possible to
store different types of objects like int,employee(Custom
class), student(custom class), object (base class itself)
into an Array list collection.

Is This Answer Correct ?    15 Yes 12 No