Use `var` instead of explicit type declarations when the type is clear from the context.
Good:
```
var name = "John";
```
Bad:
```
string name = "John";
```
Do not use underscores in front of private fields.
Good:
```
private readonly string name;
```
Bad:
```
private readonly string _name;
```asp.net
batchfile
bicep
c
c#
c++
css
dockerfile
+15 more
First Time Repository
329292
C#
Languages:
ASP.NET: 0.2KB
Batchfile: 3.5KB
Bicep: 91.2KB
C: 4.6KB
C#: 2343.6KB
C++: 20.1KB
CSS: 41.1KB
Dockerfile: 5.9KB
EJS: 1.1KB
Go: 10.5KB
HTML: 86.1KB
JavaScript: 1261.8KB
Lua: 6.7KB
PowerShell: 13.5KB
Python: 1.2KB
Rust: 10.9KB
Shell: 33.8KB
Smalltalk: 1.9KB
TSQL: 1.8KB
TypeScript: 318.4KB
VBScript: 0.1KB
Vim Snippet: 51.6KB
Created: 2/18/2014
Updated: 1/13/2025
All Repositories (1)
329292