CSharp Naming Standards

From bibbleWiki
Revision as of 00:14, 4 July 2025 by Iwiseman (talk | contribs) (Iwiseman moved page Naming Standards to CSharp Naming Standards)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Introduction

I guess I run with whatever the linter tells me but wanted to capture a way here

Naming Standards

Here we go

Type Convention Example
Parameters camelCase string actorId
Local variables camelCase var firstName = "John";
Private fields _camelCase private string _serverAddress;
Properties PascalCase public string ServerAddress { get; set; }
Methods PascalCase public void GetActor()
Classes PascalCase public class DvdRentalClientServiceImpl