About 609,000 results
Open links in new tab
  1. .NET Coding Conventions - C# | Microsoft Learn

    Jan 18, 2025 · Learn about commonly used coding conventions in C#. Coding conventions create a consistent look to the code and facilitate copying, changing, and maintaining the code. This article also includes the docs repo coding guidelines

  2. C# is a powerful Object Orientated language, for those coming from Java or C++ you should be able to pick up the syntax for C# quickly. A few points: To declare a variable you specify the data type and variable name followed by a value. I will use these two variables throughout. Arrays are similar to variables, but can hold more than one value.

  3. Avoid changing a loop variable inside a for loop block. Try to update loop variables close to where the loop condition is specified. Avoid conditions with double negatives. Never use magic numbers or magic strings. Use constants or enums. Try to only use var when the type is very obvious.

  4. Download C# Cheat Sheet PDF for Your Quick Reference

    Jan 30, 2025 · Are you looking for a quick resource through you can get all the basics of C# then here we have created a detailed C# Cheat sheet which will help you.

  5. C# Cheat Sheet + PDF | Zero To Mastery

    Free C# Cheat Sheet (plus downloadable PDF) to learn and remember key syntax and concepts of C# programming. Data types, loops, methods, LINQ + more.

  6. milanm/csharp-cheatsheet: An cheat sheet for modern C# - GitHub

    An cheat sheet for modern C#. Contribute to milanm/csharp-cheatsheet development by creating an account on GitHub. ... C# Coding Conventions; Strings. Strings in C# are immutable sequences of Unicode characters represented by the string type (an alias for System.String). C# offers a rich set of string manipulation features, from basic ...

  7. Feb 7, 2019 · C# Basics Cheat Sheet (1 of 4) begincodingnow.com . Introduction to C# . The C# language was developed by Microsoft for the .NET framework. C# is a completely-rewritten language based on C Language and C++ Language. It is a general-purpose, object-oriented, type-safe platform-neutral language that works with the .NET Framework. Visual Studio (VS)

  8. GitHub - LabinatorSolutions/csharp-cheat-sheet: Complete C# cheat sheet ...

    There are following three terminologies are used to declare C# and .NET naming standards. Camel Case (camelCase): In this standard, the first letter of the word always in small letter and after that each word starts with a capital letter.

  9. C# Coding Standards Cheat Sheet: by Via | PDF - Scribd

    This document provides C# coding standards and best practices for object oriented programming, control flow, data types, exceptions, and general guidelines.

  10. Break down your code into small functions that are easy to understand. If a method is over 30 lines of code, it should be refactored. Try to keep classes under 400 lines of code (excluding vertical spacing and comments). If a class is over 500 lines of code, it should be split out into separate classes that each do one thing.

  11. Some results have been removed
Refresh