471,310 Members | 1,400 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,310 software developers and data experts.

RE: extern and global identifiers

In OOP everything should belong to a class. You can have static
variables/properties on a class that can be read by everything that can see
the class. Some people implement a class called something like
SystemVariables which has a set of static properties to achieve this, they
are often linked to configuration files too.

--
Ciaran O''Donnell
http://wannabedeveloper.spaces.live.com
"King Coffee" wrote:
Hello,

Do C# support global variables among classes like C++? or is it strictly
OOP?

King
Aug 21 '08 #1
1 991
On Aug 21, 5:59*am, Ciaran O''Donnell
<CiaranODonn...@discussions.microsoft.comwrote:
In OOP everything should belong to a class. You can have static
variables/properties on a class that can be read by everything that can see
the class. Some people implement a class called something like
SystemVariables which has a set of static properties to achieve this, they
are often linked to configuration files too.

--
Ciaran O''Donnellhttp://wannabedeveloper.spaces.live.com

"King Coffee" wrote:
Hello,
Do C# support global variables among classes like C++? or is it strictly
OOP?
King- Hide quoted text -

- Show quoted text -
where is your question though?
Aug 21 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Kieran Simkin | last post: by
12 posts views Thread by G Patel | last post: by
5 posts views Thread by Christian Christmann | last post: by
7 posts views Thread by Christian Christmann | last post: by
5 posts views Thread by jchludzinski | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.