programming.dev
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
lysdexic to C SharpEnglish · 1 year ago

Choosing Between Class and Struct - Framework Design Guidelines

learn.microsoft.com

external-link
message-square
0
link
fedilink
17
external-link

Choosing Between Class and Struct - Framework Design Guidelines

learn.microsoft.com

lysdexic to C SharpEnglish · 1 year ago
message-square
0
link
fedilink
Learn how to decide whether to design a type as a class, or to design a type as a struct. Understand how reference types and value types differ in .NET.
alert-triangle
You must log in or register to comment.

C Sharp

csharp

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

A community about the C# programming language

Getting started

  • C# @ Wikipedia
  • A Tour of the C# Language
  • Learn C#

Useful resources

  • C# documentation
  • C# Language Reference
  • C# Programming Guide
  • C# Coding Conventions
  • .NET Framework Reference Source Code

IDEs and code editors

  • Visual Studio (Windows/Mac)
  • Rider (Windows/Mac/Linux)
  • Visual Studio Code (Windows/Mac/Linux)

Tools

  • Decompilers: ILSpy, dotPeek
  • Scratchpad: LINQPad
  • Online playground and IL viewer: SharpLab

Rules

  • Rule 1: Follow Lemmy rules
  • Rule 2: Be excellent to each other, no hostility towards users for any reason
  • Rule 3: No spam of tools/companies/advertisements

Related communities

  • c/dotnet
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 3 users / day
  • 15 users / week
  • 23 users / month
  • 106 users / 6 months
  • 558 local subscribers
  • 1.7K subscribers
  • 138 Posts
  • 284 Comments
  • Modlog
  • mods:
  • Ategon
  • nibblebit
  • Spyros
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org