fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

10K
active users

mbeddedDev

As a tip or reminder: You can write a comment like `language=xxxxx` in csharp above your string variables to tell your IDE which value type is in your string. Based on that, the IDE is able to do syntax highlighting.

@mbeddedDev Actually, you can use /* */ for inline literals as well; no need to define const fields for everything. Oh and yes, those fields should be const and private and using a leading underscore, public contract value member should be properties and using PascalCase - camelCase is only used for local variables in members and member arguments ;-)

@maxitb Thank you to point out additional information and hints to write good code, which was totally out of scope for this post :)