© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
C
C#
•
2y ago
•
15 replies
cheeze2000
✅ Don't quite understand the `required` keyword
although i marked the member as required
, i defined a default value in case if it
's not in the object initializer
. does the keyword not work this way
?
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
Recent Announcements
Similar Threads
❔ `required` keyword
C
C# / help
3y ago
✅ I don't understand GC
C
C# / help
4y ago
I don't understand the content of the image
C
C# / help
5w ago
Don’t understand nullable reference types
C
C# / help
4y ago