Click here to Skip to main content
15,892,059 members
Home / Discussions / C#
   

C#

 
GeneralRe: My thoughts on C# Pin
Dave Kreskowiak2-Jun-19 15:42
mveDave Kreskowiak2-Jun-19 15:42 
GeneralRe: My thoughts on C# Pin
Brian_TheLion2-Jun-19 16:30
Brian_TheLion2-Jun-19 16:30 
GeneralRe: My thoughts on C# Pin
Dave Kreskowiak2-Jun-19 17:26
mveDave Kreskowiak2-Jun-19 17:26 
GeneralRe: My thoughts on C# Pin
Brian_TheLion2-Jun-19 17:46
Brian_TheLion2-Jun-19 17:46 
GeneralRe: My thoughts on C# Pin
Dave Kreskowiak3-Jun-19 2:37
mveDave Kreskowiak3-Jun-19 2:37 
GeneralRe: My thoughts on C# Pin
#realJSOP2-Jun-19 4:29
mve#realJSOP2-Jun-19 4:29 
GeneralRe: My thoughts on C# Pin
Dave Kreskowiak2-Jun-19 5:44
mveDave Kreskowiak2-Jun-19 5:44 
GeneralRe: My thoughts on C# Pin
Brian_TheLion2-Jun-19 15:56
Brian_TheLion2-Jun-19 15:56 
Hi #realUSOP.

I agree that in using Global variables is a lazy approach and does not make a good programmer.

The reason why I had a need to use Global variables was so classes could get variable information from each other. The inventory class would check the objects class to find out if the object location was in the same room as the player for the player to be able to pick up the object.

I'm thinking of classes grouping code together but after reading my replies maybe this is not the case.

Brian
GeneralRe: My thoughts on C# Pin
#realJSOP3-Jun-19 0:15
mve#realJSOP3-Jun-19 0:15 
GeneralRe: My thoughts on C# Pin
Dave Kreskowiak3-Jun-19 2:37
mveDave Kreskowiak3-Jun-19 2:37 
GeneralRe: My thoughts on C# Pin
Brian_TheLion3-Jun-19 12:22
Brian_TheLion3-Jun-19 12:22 
GeneralRe: My thoughts on C# Pin
Brian_TheLion2-Jun-19 15:17
Brian_TheLion2-Jun-19 15:17 
GeneralRe: My thoughts on C# Pin
BillWoodruff1-Jun-19 17:40
professionalBillWoodruff1-Jun-19 17:40 
GeneralRe: My thoughts on C# Pin
Brian_TheLion1-Jun-19 18:02
Brian_TheLion1-Jun-19 18:02 
GeneralRe: My thoughts on C# Pin
OriginalGriff1-Jun-19 20:16
mveOriginalGriff1-Jun-19 20:16 
GeneralRe: My thoughts on C# Pin
Brian_TheLion1-Jun-19 20:37
Brian_TheLion1-Jun-19 20:37 
GeneralRe: My thoughts on C# Pin
phil.o1-Jun-19 22:02
professionalphil.o1-Jun-19 22:02 
GeneralRe: My thoughts on C# Pin
Brian_TheLion2-Jun-19 16:16
Brian_TheLion2-Jun-19 16:16 
GeneralRe: My thoughts on C# Pin
OriginalGriff1-Jun-19 22:47
mveOriginalGriff1-Jun-19 22:47 
GeneralRe: My thoughts on C# Pin
Brian_TheLion2-Jun-19 15:45
Brian_TheLion2-Jun-19 15:45 
GeneralRe: My thoughts on C# Pin
Dave Kreskowiak2-Jun-19 6:10
mveDave Kreskowiak2-Jun-19 6:10 
GeneralRe: My thoughts on C# Pin
Brian_TheLion2-Jun-19 15:32
Brian_TheLion2-Jun-19 15:32 
GeneralRe: My thoughts on C# Pin
Brian_TheLion3-Jun-19 12:49
Brian_TheLion3-Jun-19 12:49 
GeneralRe: My thoughts on C# Pin
BillWoodruff2-Jun-19 20:07
professionalBillWoodruff2-Jun-19 20:07 
GeneralRe: My thoughts on C# Pin
Brian_TheLion3-Jun-19 12:40
Brian_TheLion3-Jun-19 12:40 

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.