© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
30 replies
steven preadly

✅ positional parameters

dose this sentence
You can use positional parameters in a primary constructor to create and instantiate a type with immutable properties.
You can use positional parameters in a primary constructor to create and instantiate a type with immutable properties.
form docs means that the record create a primary constractor that contains the parameter , or it means that i can create a primary constractor inside the record type with the parameter , as i read the record creates by default a primary constructor and a proparites that is inilized using this constractor
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ Positional record with alternate constructor
C#CC# / help
2y ago
✅ When is the single argument positional pattern ever used?
C#CC# / help
8mo ago
Querry android parameters
C#CC# / help
7d ago