Click here to Skip to main content
15,890,438 members
Home / Discussions / C#
   

C#

 
GeneralRe: VS 2017 c# Getting Current Version number Pin
OriginalGriff6-Mar-19 22:11
mveOriginalGriff6-Mar-19 22:11 
GeneralRe: VS 2017 c# Getting Current Version number Pin
ormonds7-Mar-19 0:33
ormonds7-Mar-19 0:33 
QuestionBest Architecture dotnet app Pin
Member 132039775-Mar-19 5:38
Member 132039775-Mar-19 5:38 
AnswerRe: Best Architecture dotnet app Pin
Gerry Schmitz5-Mar-19 7:57
mveGerry Schmitz5-Mar-19 7:57 
RantRe: Best Architecture dotnet app Pin
Bohdan Stupak5-Mar-19 22:25
professionalBohdan Stupak5-Mar-19 22:25 
GeneralRe: Best Architecture dotnet app Pin
Member 132039775-Mar-19 23:42
Member 132039775-Mar-19 23:42 
GeneralRe: Best Architecture dotnet app Pin
Bohdan Stupak6-Mar-19 1:04
professionalBohdan Stupak6-Mar-19 1:04 
QuestionUsing the Black Box method in C# Pin
Brian_TheLion4-Mar-19 18:57
Brian_TheLion4-Mar-19 18:57 
I'm hoping this is possible in C# as I'm currently starting to learn C#
A black box is a box that you don't know what is inside but you can feed the box data and get a result. The black box has conditions. For example you might have an black box called age where you feed in a persons age and the result is "Under age" is displayed.

I want to have a number of black boxes in a program where once the black box code is written then I can forget about the code in the black box. All I need to do is to feed the black box information and get a result.

I'm thinking that this can be done with the C# class system or maybe there is a better way.

Maybe this setup is possible with an "age" black box and an "account" black box:
age person1 = new age
account person1 = new account
etc

Brian
AnswerRe: Using the Black Box method in C# Pin
OriginalGriff4-Mar-19 20:00
mveOriginalGriff4-Mar-19 20:00 
GeneralRe: Using the Black Box method in C# Pin
Brian_TheLion4-Mar-19 23:20
Brian_TheLion4-Mar-19 23:20 
GeneralRe: Using the Black Box method in C# Pin
OriginalGriff5-Mar-19 0:04
mveOriginalGriff5-Mar-19 0:04 
GeneralRe: Using the Black Box method in C# Pin
Brian_TheLion5-Mar-19 11:47
Brian_TheLion5-Mar-19 11:47 
AnswerRe: Using the Black Box method in C# Pin
Gerry Schmitz5-Mar-19 8:10
mveGerry Schmitz5-Mar-19 8:10 
GeneralRe: Using the Black Box method in C# Pin
Brian_TheLion5-Mar-19 11:45
Brian_TheLion5-Mar-19 11:45 
GeneralRe: Using the Black Box method in C# Pin
Gerry Schmitz6-Mar-19 4:13
mveGerry Schmitz6-Mar-19 4:13 
GeneralRe: Using the Black Box method in C# Pin
Brian_TheLion6-Mar-19 11:32
Brian_TheLion6-Mar-19 11:32 
Questionc#, winforms, moving the app to another monitor and updating the screen device name Pin
jkirkerx4-Mar-19 7:01
professionaljkirkerx4-Mar-19 7:01 
AnswerRe: c#, winforms, moving the app to another monitor and updating the screen device name Pin
jkirkerx4-Mar-19 7:15
professionaljkirkerx4-Mar-19 7:15 
GeneralHow to center a progress bar dialog across multiple monitors Pin
jkirkerx4-Mar-19 9:44
professionaljkirkerx4-Mar-19 9:44 
AnswerRe: c#, winforms, moving the app to another monitor and updating the screen device name Pin
Gerry Schmitz5-Mar-19 8:24
mveGerry Schmitz5-Mar-19 8:24 
GeneralRe: c#, winforms, moving the app to another monitor and updating the screen device name Pin
jkirkerx5-Mar-19 10:37
professionaljkirkerx5-Mar-19 10:37 
QuestionPlease tell me what is wrong with this simple C# program Pin
Brian_TheLion3-Mar-19 23:20
Brian_TheLion3-Mar-19 23:20 
AnswerRe: Please tell me what is wrong with this simple C# program Pin
OriginalGriff3-Mar-19 23:46
mveOriginalGriff3-Mar-19 23:46 
GeneralRe: Please tell me what is wrong with this simple C# program Pin
Brian_TheLion4-Mar-19 0:02
Brian_TheLion4-Mar-19 0:02 
GeneralRe: Please tell me what is wrong with this simple C# program Pin
OriginalGriff4-Mar-19 0:05
mveOriginalGriff4-Mar-19 0:05 

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.