Can you give an example of how I could implement a C functional #define statement in C#?

I have one with 3 lines of code, delimited using \ at the end of each line.... could you explain how this works when executed in C?

Thanks

since you didn't post it I have no clue.

>>could you explain how this works when executed in C?
#define's are NOT executed at all in C. The compiler's preprocessor expands all #defines and #includes before the compiler sees the code.

If this doesn't explain what you want, then you need to post an example so we know exactly what you want.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.