Click here to Skip to main content
15,860,943 members
Home / Discussions / C#
   

C#

 
AnswerRe: What is the best way to call methods in a commom class? Pin
dan!sh 21-Oct-09 5:32
professional dan!sh 21-Oct-09 5:32 
GeneralRe: What is the best way to call methods in a commom class? Pin
Not Active21-Oct-09 5:48
mentorNot Active21-Oct-09 5:48 
GeneralRe: What is the best way to call methods in a commom class? Pin
dan!sh 21-Oct-09 5:55
professional dan!sh 21-Oct-09 5:55 
GeneralRe: What is the best way to call methods in a commom class? Pin
Not Active21-Oct-09 6:28
mentorNot Active21-Oct-09 6:28 
GeneralRe: What is the best way to call methods in a commom class? Pin
dan!sh 21-Oct-09 7:26
professional dan!sh 21-Oct-09 7:26 
GeneralRe: What is the best way to call methods in a commom class? Pin
Not Active21-Oct-09 7:49
mentorNot Active21-Oct-09 7:49 
GeneralRe: What is the best way to call methods in a commom class? Pin
dan!sh 21-Oct-09 7:59
professional dan!sh 21-Oct-09 7:59 
GeneralRe: What is the best way to call methods in a commom class? Pin
Not Active21-Oct-09 8:28
mentorNot Active21-Oct-09 8:28 
From my previous post

Remember the "is a" relationship with inheritance. I can't think how that would apply to the OP's situation. If you want to use String.Format in your class do you derive from String?

For utility methods, as decribed by the OP, there is no "is a" relationship. There is functionality that can be reused for a variety of situations with no dependencies or need to inherit. If the functionality is applicable to certain class I would consider an extension method, unless there truely was a heirarchial relationship between the objects.


only two letters away from being an asset

Questionscript Pin
netJP12L21-Oct-09 4:53
netJP12L21-Oct-09 4:53 
AnswerRe: script Pin
dan!sh 21-Oct-09 5:29
professional dan!sh 21-Oct-09 5:29 
AnswerRe: script Pin
Rob Branaghan21-Oct-09 5:32
Rob Branaghan21-Oct-09 5:32 
QuestionSerialization of a class which is inherriting from the TreeNode class Pin
mhouck21-Oct-09 3:49
mhouck21-Oct-09 3:49 
QuestionHow to Add a Column to an imported excel file to a DataGridView . Pin
nassimnastaran21-Oct-09 3:39
nassimnastaran21-Oct-09 3:39 
AnswerRe: How to Add a Column to an imported excel file to a DataGridView . Pin
dan!sh 21-Oct-09 5:28
professional dan!sh 21-Oct-09 5:28 
GeneralRe: How to Add a Column to an imported excel file to a DataGridView . Pin
nassimnastaran21-Oct-09 6:20
nassimnastaran21-Oct-09 6:20 
GeneralRe: How to Add a Column to an imported excel file to a DataGridView . Pin
dan!sh 21-Oct-09 7:57
professional dan!sh 21-Oct-09 7:57 
GeneralRe: How to Add a Column to an imported excel file to a DataGridView . Pin
nassimnastaran21-Oct-09 19:03
nassimnastaran21-Oct-09 19:03 
QuestionMDIParent Pin
Socheat.Net21-Oct-09 3:33
Socheat.Net21-Oct-09 3:33 
AnswerRe: MDIParent Pin
dan!sh 21-Oct-09 5:26
professional dan!sh 21-Oct-09 5:26 
Question[Message Deleted] Pin
RINSON VARGHESE21-Oct-09 2:40
RINSON VARGHESE21-Oct-09 2:40 
AnswerRe: c# RePost Pin
Richard MacCutchan21-Oct-09 2:42
mveRichard MacCutchan21-Oct-09 2:42 
Question[Message Deleted] Pin
RINSON VARGHESE21-Oct-09 2:39
RINSON VARGHESE21-Oct-09 2:39 
AnswerRe: advantages of c# Pin
Richard MacCutchan21-Oct-09 2:41
mveRichard MacCutchan21-Oct-09 2:41 
GeneralRe: advantages of c# Pin
musefan21-Oct-09 2:47
musefan21-Oct-09 2:47 
QuestionREF AND OUT VARIABLES Pin
RINSON VARGHESE21-Oct-09 2:10
RINSON VARGHESE21-Oct-09 2:10 

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.