Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK .NET / A few 2d beginner questions

Author
Message
realHans
15
Years of Service
User Offline
Joined: 7th Mar 2009
Location:
Posted: 13th Sep 2009 22:34
Hi.
1. I figured out using DarkGDK is possible in two ways:



Or this way:


Which one is the more recommended way ?
Lilith
16
Years of Service
User Offline
Joined: 12th Feb 2008
Location: Dallas, TX
Posted: 14th Sep 2009 05:00
I'm going to say the first way. Without knowing what members are in CDarkGDK I'd want to at least have those members available to me. The using statement allows for not including its namespace in every reference you make to something in it's namespace. There's likely an advantage to using both.

Lilith, Night Butterfly
I'm not a programmer but I play one in the office
kBessa
17
Years of Service
User Offline
Joined: 8th Nov 2006
Location: Manaus, Amazonas, Brazil
Posted: 18th Sep 2009 06:48
The first one is only needed if you're not using the OO wrappers (Class library).

[center][center]

Login to post a reply

Server time is: 2024-04-19 21:32:21
Your offset time is: 2024-04-19 21:32:21