Click here to Skip to main content
15,919,613 members
Home / Discussions / C#
   

C#

 
GeneralC# handshaking with a Event inside a DLL Pin
Anonymous18-Jul-05 22:47
Anonymous18-Jul-05 22:47 
GeneralUrgent help about calculator Pin
TA-RS18-Jul-05 22:42
TA-RS18-Jul-05 22:42 
GeneralRe: Urgent help about calculator Pin
tatchung18-Jul-05 22:50
tatchung18-Jul-05 22:50 
GeneralFinal Leg!! Pin
tatchung18-Jul-05 22:40
tatchung18-Jul-05 22:40 
GeneralRe: Final Leg!! Pin
Gavin Jeffrey18-Jul-05 22:54
Gavin Jeffrey18-Jul-05 22:54 
GeneralPredefined Macros Pin
Paul Selormey18-Jul-05 19:36
Paul Selormey18-Jul-05 19:36 
GeneralRe: Predefined Macros Pin
Christian Graus18-Jul-05 19:50
protectorChristian Graus18-Jul-05 19:50 
GeneralRe: Predefined Macros Pin
Paul Selormey18-Jul-05 21:36
Paul Selormey18-Jul-05 21:36 
Thanks.

I do not see what is regretable about macro support in C#. You simply do not have to use what you do not have a use for. I needed to create an interface library for both .NET 1.1 and 2.x, and do not want to do this again. So, I want to have something like
#if version 1.x
IPositionList Positions
#else // version 2.x
List<IPosition> Positions
#endif 
{
    get;
}
where is a IPositionList is a strongly-typed list of IPosition for use in
the version 1.x.

I do not know if anything else can do this better than macros. I will defined my own macros - just trying to find out if "standard macros" exist
for this kind of stuff.

Best regards,
Paul.



Jesus Christ is LOVE! Please tell somebody.
GeneralRe: Predefined Macros Pin
leppie19-Jul-05 0:05
leppie19-Jul-05 0:05 
GeneralRe: Predefined Macros Pin
Paul Selormey19-Jul-05 4:14
Paul Selormey19-Jul-05 4:14 
GeneralRe: Predefined Macros Pin
Christian Graus19-Jul-05 10:32
protectorChristian Graus19-Jul-05 10:32 
GeneralOptional Parameter in C# Pin
arechno18-Jul-05 18:55
arechno18-Jul-05 18:55 
GeneralRe: Optional Parameter in C# Pin
Christian Graus18-Jul-05 19:02
protectorChristian Graus18-Jul-05 19:02 
GeneralRe: Optional Parameter in C# Pin
arechno18-Jul-05 19:27
arechno18-Jul-05 19:27 
GeneralRe: Optional Parameter in C# Pin
Christian Graus18-Jul-05 19:29
protectorChristian Graus18-Jul-05 19:29 
GeneralRe: Optional Parameter in C# Pin
DavidNohejl19-Jul-05 3:08
DavidNohejl19-Jul-05 3:08 
GeneralRe: Optional Parameter in C# Pin
Dave Doknjas19-Jul-05 16:45
Dave Doknjas19-Jul-05 16:45 
GeneralRe: Optional Parameter in C# Pin
Christian Graus19-Jul-05 16:52
protectorChristian Graus19-Jul-05 16:52 
GeneralMy XmlFile looses its tree hierarchy after saving it Pin
rudy.net18-Jul-05 15:01
rudy.net18-Jul-05 15:01 
GeneralGetLParam function Pin
manhuber18-Jul-05 14:56
manhuber18-Jul-05 14:56 
GeneralRe: GetLParam function Pin
Luis Alonso Ramos18-Jul-05 15:30
Luis Alonso Ramos18-Jul-05 15:30 
GeneralASP('Cache-Control') Pin
felopater18-Jul-05 14:04
felopater18-Jul-05 14:04 
GeneralStatic Objects - Stupid Question Pin
Tristan Rhodes18-Jul-05 13:53
Tristan Rhodes18-Jul-05 13:53 
GeneralRe: Static Objects - Stupid Question Pin
leppie19-Jul-05 0:27
leppie19-Jul-05 0:27 
GeneralListView and VScrollBar. Pin
93Current18-Jul-05 13:36
93Current18-Jul-05 13:36 

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.