Click here to Skip to main content
15,917,320 members

Comments by awesome786 (Top 6 by date)

awesome786 12-Oct-21 9:12am View    
but lets say for example ProductSoldResult line, how would I implement ProductsSellOrder in the method SellProductsFromInventory??
awesome786 12-Oct-21 9:02am View    
I do apologize, how would you go about determining the classes name or using it as a placeholder or what can you recommend I should specifically learn more about?
awesome786 12-Oct-21 8:52am View    
im doing a short course in C#, this is part of the tasks for creating interfaces with a class library, so all my code is in a class called OnlineStore and my other classes are referenced to it. So I'm struggling with the section that requires me to give arguments to the method in the main method, I have given data types, values, variable names, objects are all telling me I can't implicitly convert one class to another
awesome786 12-Oct-21 8:42am View    
well you understand the concept but this is what they gave me as a requirement and im trying to figure how to implement those lines of code in order to pass the object they asking for from that class into that method. which I myself cannot understand why they want it done this way
awesome786 12-Oct-21 8:02am View    
ok il try that and see how far I go but is it possible to have a code like this //
className methodName(className parameter)//