Click here to Skip to main content
15,888,733 members
Home / Discussions / C#
   

C#

 
QuestionVS2017/2019 VSIX broken - I need a favor Pin
honey the codewitch5-Jun-19 3:40
mvahoney the codewitch5-Jun-19 3:40 
AnswerRe: VS2017/2019 VSIX broken - I need a favor Pin
Richard MacCutchan5-Jun-19 4:35
mveRichard MacCutchan5-Jun-19 4:35 
AnswerRe: VS2017/2019 VSIX broken - I need a favor Pin
Gerry Schmitz5-Jun-19 6:52
mveGerry Schmitz5-Jun-19 6:52 
GeneralRe: VS2017/2019 VSIX broken - I need a favor Pin
honey the codewitch5-Jun-19 8:11
mvahoney the codewitch5-Jun-19 8:11 
GeneralRe: VS2017/2019 VSIX broken - I need a favor Pin
OriginalGriff5-Jun-19 8:20
mveOriginalGriff5-Jun-19 8:20 
GeneralRe: VS2017/2019 VSIX broken - I need a favor Pin
honey the codewitch5-Jun-19 8:30
mvahoney the codewitch5-Jun-19 8:30 
GeneralRe: VS2017/2019 VSIX broken - I need a favor Pin
ZurdoDev5-Jun-19 9:09
professionalZurdoDev5-Jun-19 9:09 
GeneralRe: VS2017/2019 VSIX broken - I need a favor Pin
honey the codewitch5-Jun-19 13:59
mvahoney the codewitch5-Jun-19 13:59 
GeneralRe: VS2017/2019 VSIX broken - I need a favor Pin
ZurdoDev6-Jun-19 1:54
professionalZurdoDev6-Jun-19 1:54 
GeneralRe: VS2017/2019 VSIX broken - I need a favor Pin
honey the codewitch6-Jun-19 3:16
mvahoney the codewitch6-Jun-19 3:16 
JokeRe: VS2017/2019 VSIX broken - I need a favor Pin
ZurdoDev6-Jun-19 3:23
professionalZurdoDev6-Jun-19 3:23 
GeneralRe: VS2017/2019 VSIX broken - I need a favor Pin
honey the codewitch6-Jun-19 3:32
mvahoney the codewitch6-Jun-19 3:32 
AnswerRe: VS2017/2019 VSIX broken - I need a favor Pin
CPallini5-Jun-19 10:01
mveCPallini5-Jun-19 10:01 
AnswerRe: VS2017/2019 VSIX broken - I need a favor Pin
jschell8-Jun-19 5:01
jschell8-Jun-19 5:01 
GeneralRe: VS2017/2019 VSIX broken - I need a favor Pin
honey the codewitch8-Jun-19 5:43
mvahoney the codewitch8-Jun-19 5:43 
QuestionC# mp4 stream reader Pin
nicko134-Jun-19 9:13
nicko134-Jun-19 9:13 
AnswerRe: C# mp4 stream reader Pin
OriginalGriff4-Jun-19 19:06
mveOriginalGriff4-Jun-19 19:06 
GeneralRe: C# mp4 stream reader Pin
nicko135-Jun-19 7:46
nicko135-Jun-19 7:46 
AnswerRe: C# mp4 stream reader Pin
Gerry Schmitz5-Jun-19 5:52
mveGerry Schmitz5-Jun-19 5:52 
GeneralRe: C# mp4 stream reader Pin
nicko135-Jun-19 7:59
nicko135-Jun-19 7:59 
QuestionDataProtection API Pin
Super Lloyd2-Jun-19 21:22
Super Lloyd2-Jun-19 21:22 
AnswerRe: DataProtection API Pin
Kornfeld Eliyahu Peter2-Jun-19 22:35
professionalKornfeld Eliyahu Peter2-Jun-19 22:35 
AnswerRe: DataProtection API Pin
Eddy Vluggen2-Jun-19 22:50
professionalEddy Vluggen2-Jun-19 22:50 
GeneralMy thoughts on C# Pin
Brian_TheLion1-Jun-19 15:43
Brian_TheLion1-Jun-19 15:43 
GeneralRe: My thoughts on C# Pin
Dave Kreskowiak1-Jun-19 16:06
mveDave Kreskowiak1-Jun-19 16:06 
Brian_TheLion wrote:
After learning C# for a while it seems that you need to keep within certain rules to have the program compile.

True for ANY language, not just C#.

Brian_TheLion wrote:
It looks like a case of modifying a program so that it works under C#. There is no global variable allowed so in order to move variables between classes means re-writing the program so it fits within the C# rules.

It's no the rules of C# so much as it is a strict implementation of Object Oriented Programming, which other languages support, not just C#.

"Global variables", in my humble opinion, are a lazy and error prone way of moving data between objects.

Brian_TheLion wrote:
the program I have in mind that I want to write has many varables between classes

You're thinking of data used in more than one class as "global". Well, "global" is just another container, just like a class instance is a container, that can be passed into other class methods.

Brian_TheLion wrote:
It also makes the program easier to deal with when changes are made.

Actually, this isn't true. You have code all over the place that can manipulate "global" variables and debugging problems with that code can be a nightmare because there is no central repository controlling access to those variables.

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.