Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
❔ Why is destructuring used like this? - C#
C
C#
•
3y ago
•
11 replies
Emelie
❔ Why is destructuring used like this?
Hi
, I am trying to get a grasp on a code example I found on the tic
-tac
-toe game
. One thing I struggle to understand
, is why the parameters defined for this function are contained within curly brackets
.
Why not just the paranthesis
?
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
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Why using is used here
C
C# / help
14mo ago
❔ Why is this selected?
C
C# / help
3y ago
❔ ✅ Why is this true?
C
C# / help
3y ago
❔ List is a variable but is used like a type
C
C# / help
4y ago