Star Trek Website
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
canpolat@programming.dev to C Sharp@programming.devEnglish · 2 years ago

Switch statement fallthrough in C#?

stackoverflow.com

external-link
message-square
9
link
fedilink
6
external-link

Switch statement fallthrough in C#?

stackoverflow.com

canpolat@programming.dev to C Sharp@programming.devEnglish · 2 years ago
message-square
9
link
fedilink
Switch statement fallthrough is one of my personal major reasons for loving switch vs. if/else if constructs. An example is in order here: static string NumberToWords(int number) { string[] nu...
  • CCMan1701A
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    It works for older platforms that only run CF 3.5

    • mihies@kbin.social
      link
      fedilink
      arrow-up
      3
      ·
      2 years ago

      Is CF still a thing? But anyway, if it works, it works :)

C Sharp@programming.dev

csharp@programming.dev

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: !csharp@programming.dev

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.

  • 1 user / day
  • 4 users / week
  • 28 users / month
  • 170 users / 6 months
  • 4 local subscribers
  • 1.79K subscribers
  • 264 Posts
  • 301 Comments
  • Modlog
  • mods:
  • Ategon@programming.dev
  • nibblebit@programming.dev
  • Spyros@programming.dev
  • BE: 0.19.17
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org