Using DefaultValue Attribute
You can assign the default value using the DefaultValueAttribute attribute, as shown below.
💬 Support the channel and its mission to help programmers learn C#: https://www.patreon.com/csharp1001notes
You can assign the default value using the DefaultValueAttribute attribute, as shown below.
💬 Support the channel and its mission to help programmers learn C#: https://www.patreon.com/csharp1001notes