Click here to Skip to main content
15,896,726 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: My thoughts on C# Pin
Brian_TheLion1-Jun-19 18:16
Brian_TheLion1-Jun-19 18:16 
Thanks Dave for your answers to what I have written.

To give you a better idea of what I'm aiming for please consider this example.

This is for a text adventure game where the player can pick up and drop objects.

You have an inventory class and a get/drop class

The player might type "get slippers" from the main() class

The main() class recognizes this as a 'get' command and sends the item "slippers" to the get/drop class.
The get/drop class would have to check the inventory class to see if the player already is carrying slippers and also to check if the player can carry more items, if these checks pass then the get.drop class would have to remove the slippers from the room and send "slippers to the inventory class so that they are added to the items carried by the player which is kept in the inventory class. Finally the get/drop class sends back to the main() class a test message for the player "Slippers picked up".

So there needs to be a way for C# to communicate between classes and one class to be able to control another class.

Brian
GeneralRe: My thoughts on C# Pin
Luc Pattyn2-Jun-19 3:38
sitebuilderLuc Pattyn2-Jun-19 3:38 
GeneralRe: My thoughts on C# Pin
Brian_TheLion2-Jun-19 15:07
Brian_TheLion2-Jun-19 15:07 
GeneralRe: My thoughts on C# Pin
Luc Pattyn2-Jun-19 15:41
sitebuilderLuc Pattyn2-Jun-19 15:41 
GeneralRe: My thoughts on C# Pin
Brian_TheLion2-Jun-19 16:09
Brian_TheLion2-Jun-19 16:09 
GeneralRe: My thoughts on C# Pin
Dave Kreskowiak2-Jun-19 5:27
mveDave Kreskowiak2-Jun-19 5:27 
GeneralRe: My thoughts on C# Pin
Brian_TheLion2-Jun-19 14:25
Brian_TheLion2-Jun-19 14:25 
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
professional#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 
GeneralRe: My thoughts on C# Pin
#realJSOP3-Jun-19 0:15
professional#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 

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.