© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
✅ Taking a value out of a method and putting it into another - C#
C
C#
•
2y ago
•
10 replies
Ewan
✅ Taking a value out of a method and putting it into another
For this
, i want the value inside price
(
) that is the currentPizzaPrice and i want it to go into the totalPrice
(
) method
, how can i do this
?
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
62,470
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
❔ Getting documentation from another class and putting it in another one
C
C# / help
3y ago
❔ Putting code into a UI
C
C# / help
3y ago
❔ Is it possible to put a method into a variable and call the variable?
C
C# / help
4y ago