Click here to Skip to main content
15,889,527 members
Home / Discussions / C#
   

C#

 
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 
Hi Griff.

First of all I'm not trying to translate C++ code to C#. I just thought that C++ might be better suited as it supports Gobal variables, but I have not abandoned C#.

The original code was written in the BASIC language back in the 1980's
I did attempt to convert it to Visual Basic some years ago and like you say it does not work when you try to convert the code exactly how it is written.

Since then having a good idea on how the BASIC code works and have wanted to convert it over to a different language but not exactly how it was originally written. The aim in using a different programming language was to get it working in it's basic state then improve on the program.

The problem seems to be in getting classes to communicate with each other in C# so that Class A gets a value from Class B (maybe some boolean condition or value is needed from Class B) in order for Class A to supply the correct info to the main() class. Class A may have to update a variable in Class B also. Can one class control another class?
Someone suggested that I should look at instances of classes so maybe the answer is there.

Brian
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 
GeneralRe: My thoughts on C# Pin
Richard MacCutchan1-Jun-19 21:46
mveRichard MacCutchan1-Jun-19 21:46 
GeneralRe: My thoughts on C# Pin
Brian_TheLion2-Jun-19 0:15
Brian_TheLion2-Jun-19 0:15 
GeneralRe: My thoughts on C# Pin
Mycroft Holmes2-Jun-19 13:36
professionalMycroft Holmes2-Jun-19 13:36 
GeneralRe: My thoughts on C# Pin
Brian_TheLion2-Jun-19 15:22
Brian_TheLion2-Jun-19 15:22 
GeneralRe: My thoughts on C# Pin
Mycroft Holmes2-Jun-19 15:58
professionalMycroft Holmes2-Jun-19 15:58 
GeneralRe: My thoughts on C# Pin
Brian_TheLion2-Jun-19 16:50
Brian_TheLion2-Jun-19 16:50 
GeneralRe: My thoughts on C# Pin
jsc423-Jun-19 23:18
professionaljsc423-Jun-19 23:18 
GeneralRe: My thoughts on C# Pin
Brian_TheLion4-Jun-19 17:48
Brian_TheLion4-Jun-19 17:48 

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.