khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

Top-level statements are a neat feature of #dotnet, but some implicit returns happen when you add class definitions and functions to the end of the file.

With #JetBrainsRider and #ReSharper, you can have the tooling turn an implicit return into an explicit one, so there’s no confusion about where executing code ends and definitions start. #csharp

JetBrains Rider (thanks to ReSharper) adding an explicit return in a top-level statement file.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • dotnet
  • ngwrru68w68
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • megavids
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • provamag3
  • JUstTest
  • All magazines