Click here to Skip to main content
16,007,472 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to get a file from a folder Pin
pmarfleet25-Feb-08 9:37
pmarfleet25-Feb-08 9:37 
QuestionRe: How to get a file from a folder Pin
Exelioindia25-Feb-08 10:07
Exelioindia25-Feb-08 10:07 
AnswerRe: How to get a file from a folder Pin
KaptinKrunch25-Feb-08 10:29
KaptinKrunch25-Feb-08 10:29 
AnswerRe: How to get a file from a folder Pin
Gareth H25-Feb-08 10:04
Gareth H25-Feb-08 10:04 
GeneralRe: How to get a file from a folder Pin
Exelioindia25-Feb-08 10:28
Exelioindia25-Feb-08 10:28 
QuestionStatic Extension Methods? Pin
Skippums25-Feb-08 9:13
Skippums25-Feb-08 9:13 
GeneralRe: Static Extension Methods? Pin
Not Active25-Feb-08 9:27
mentorNot Active25-Feb-08 9:27 
GeneralRe: Static Extension Methods? Pin
Skippums25-Feb-08 9:38
Skippums25-Feb-08 9:38 
I actually don't create two different classes with the same name... Visual Studio does it for me. Basically, the WebAPI.UInt128 only contains the serialized data from within the Base.UInt128 class, even though both are logically equivalent. However, since the WebAPI is automatically generated and in actuallity does not depend on Base, I should not need to add that reference to the WebAPI project. For a client that DOES have access to both WebAPI and Base, that client should be able to use either UInt128 class interchangeably. That is why I asked for such a thing.

Mark Nischalke wrote:
Yes with framework 3.5 you can create extension methods.


Could you please provide an example of how I would declare the following from within the Main project? I am having a hard time finding any documentation describing how to externally define static extension methods.
public static explicit operator WebAPI.UInt128(Base.UInt128 other) { ... }
Thanks,

Sounds like somebody's got a case of the Mondays

-Jeff

GeneralRe: Static Extension Methods? Pin
Pete O'Hanlon25-Feb-08 9:48
mvePete O'Hanlon25-Feb-08 9:48 
GeneralRe: Static Extension Methods? Pin
Skippums25-Feb-08 9:54
Skippums25-Feb-08 9:54 
GeneralRe: Static Extension Methods? Pin
Mark Churchill25-Feb-08 19:05
Mark Churchill25-Feb-08 19:05 
GeneralRe: Static Extension Methods? Pin
Skippums26-Feb-08 4:51
Skippums26-Feb-08 4:51 
QuestionWhat does it mean Pin
netJP12L25-Feb-08 7:53
netJP12L25-Feb-08 7:53 
AnswerRe: What does it mean Pin
led mike25-Feb-08 8:11
led mike25-Feb-08 8:11 
GeneralParsing a custom date string to a DateTime Object Pin
Sunset Towers25-Feb-08 6:48
Sunset Towers25-Feb-08 6:48 
GeneralRe: Parsing a custom date string to a DateTime Object Pin
Gareth H25-Feb-08 7:33
Gareth H25-Feb-08 7:33 
GeneralRe: Parsing a custom date string to a DateTime Object Pin
Sunset Towers25-Feb-08 7:52
Sunset Towers25-Feb-08 7:52 
GeneralRe: Parsing a custom date string to a DateTime Object Pin
led mike25-Feb-08 8:10
led mike25-Feb-08 8:10 
GeneralSystem error codes, FormatMessage, and memory reading. [modified] Pin
Jitse25-Feb-08 5:55
Jitse25-Feb-08 5:55 
GeneralClear textbox problem Pin
Rick van Woudenberg25-Feb-08 5:30
Rick van Woudenberg25-Feb-08 5:30 
GeneralRe: Clear textbox problem --> And this works Pin
Rick van Woudenberg25-Feb-08 5:33
Rick van Woudenberg25-Feb-08 5:33 
GeneralRe: Clear textbox problem --> And this works Pin
Gareth H25-Feb-08 6:46
Gareth H25-Feb-08 6:46 
GeneralRe: Clear textbox problem Pin
engsrini25-Feb-08 11:47
engsrini25-Feb-08 11:47 
QuestionProcess memory, significant addresses Pin
Jitse25-Feb-08 4:33
Jitse25-Feb-08 4:33 
GeneralRe: Process memory, significant addresses Pin
Luc Pattyn25-Feb-08 4:48
sitebuilderLuc Pattyn25-Feb-08 4:48 

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.