Click here to Skip to main content
15,888,286 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionWhat is NUnit? Pin
rangaSL31-May-07 22:41
rangaSL31-May-07 22:41 
AnswerRe: What is NUnit? Pin
Colin Angus Mackay1-Jun-07 0:45
Colin Angus Mackay1-Jun-07 0:45 
GeneralRe: What is NUnit? Pin
Kevin McFarlane4-Jun-07 9:14
Kevin McFarlane4-Jun-07 9:14 
AnswerRe: What is NUnit? Pin
Christian Graus1-Jun-07 0:55
protectorChristian Graus1-Jun-07 0:55 
GeneralRe: What is NUnit? Pin
Paul Conrad1-Jun-07 7:13
professionalPaul Conrad1-Jun-07 7:13 
AnswerRe: What is NUnit? Pin
PavanPareta17-Jun-07 21:07
PavanPareta17-Jun-07 21:07 
Questiondiff b/w object and Object Pin
Nilesh Mitra31-May-07 18:35
Nilesh Mitra31-May-07 18:35 
AnswerRe: diff b/w object and Object Pin
Sathesh Sakthivel31-May-07 18:57
Sathesh Sakthivel31-May-07 18:57 
All classes in the .NET Framework are derived from Object, every method defined in the Object class is available in all objects in the system.

If you are designing a class, such as a collection, that must handle any type of object, you can create class members that accept instances of the Object class. However, the process of boxing and unboxing a type carries a performance cost. If you know your new class will frequently handle certain value types you can use one of two tactics to minimize the cost of boxing.

One tactic is to create a general method that accepts an Object type, and a set of type-specific method overloads that accept each value type you expect your class to frequently handle. If a type-specific method exists that accepts the calling parameter type, no boxing occurs and the type-specific method is invoked. If there is no method argument that matches the calling parameter type, the parameter is boxed and the general method is invoked. This tactic yields methods that are CLS-compliant.



Regards,

Satips.Rose | [Rose]

GeneralRe: diff b/w object and Object Pin
Colin Angus Mackay31-May-07 22:36
Colin Angus Mackay31-May-07 22:36 
AnswerRe: diff b/w object and Object Pin
Colin Angus Mackay31-May-07 22:35
Colin Angus Mackay31-May-07 22:35 
AnswerRe: diff b/w object and Object Pin
DavidNohejl5-Jun-07 1:51
DavidNohejl5-Jun-07 1:51 
QuestionConfig File [modified] Pin
papy-boom30-May-07 23:49
papy-boom30-May-07 23:49 
AnswerRe: Config File Pin
kubben31-May-07 5:19
kubben31-May-07 5:19 
AnswerRe: Config File Pin
originSH1-Jun-07 6:10
originSH1-Jun-07 6:10 
QuestionTheme and Skin in Window Application Pin
ashishnagar130-May-07 20:47
ashishnagar130-May-07 20:47 
AnswerRe: Theme and Skin in Window Application Pin
originSH1-Jun-07 6:11
originSH1-Jun-07 6:11 
GeneralRe: Theme and Skin in Window Application Pin
Manas Bhardwaj7-Jun-07 5:54
professionalManas Bhardwaj7-Jun-07 5:54 
QuestionClick Once Install Pin
Abhijit422930-May-07 10:26
Abhijit422930-May-07 10:26 
AnswerRe: Click Once Install Pin
Kevin McFarlane23-Jun-07 0:01
Kevin McFarlane23-Jun-07 0:01 
Question[Message Deleted] Pin
chennaidotnetguy30-May-07 2:13
chennaidotnetguy30-May-07 2:13 
AnswerRe: mcpd exam Pin
Not Active30-May-07 3:36
mentorNot Active30-May-07 3:36 
AnswerRe: mcpd exam Pin
Colin Angus Mackay30-May-07 11:48
Colin Angus Mackay30-May-07 11:48 
AnswerRe: mcpd exam Pin
Christian Graus30-May-07 20:59
protectorChristian Graus30-May-07 20:59 
Answer[Message Deleted] Pin
Nouman Bhatti31-May-07 2:59
Nouman Bhatti31-May-07 2:59 
GeneralRe: mcpd exam Pin
Colin Angus Mackay31-May-07 4:21
Colin Angus Mackay31-May-07 4:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.