Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
✅ Mathematical Expressions - C#
C
C#
•
4y ago
•
49 replies
MaGiiKx
✅ Mathematical Expressions
Hi
, for my university assignment
, I am required to add complex expressions alongside my variables
. The complex expression is just mathematical stuff
.
an example is
-
var size 10
(this creates a variable with the value of 10
.
)
size
= size
* 3
(this should overwrite the value of size to 30
.
)
i need some help to do this
.
when i remove the line
- size
= size
* 3
, it draws the shape
.
https://hastebin.com/pivuwabelo.csharp
Hastebin: Send and Save Text or Code Snippets for Free | Toptal®
Hastebin is a free web
-based pastebin service for storing and sharing text and code snippets with anyone
. Get started now
.
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Switch Expressions
C
C# / help
11mo ago
❔ Lambda expressions in C#
C
C# / help
3y ago
❔ Evaluating C# Expressions At Runtime
C
C# / help
3y ago