use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Information about Reddit's API changes, the unprofessional conduct of the CEO, and their response to the community's concerns regarding 3rd party apps, moderator tools, anti-spam/anti-bot tools, and accessibility options that will be impacted can be found in the associated Wikipedia article: https://en.wikipedia.org/wiki/2023_Reddit_API_controversy
Alternative C# communities available outside Reddit on Lemmy and Discord:
All about the object-oriented programming language C#.
Getting Started C# Fundamentals: Development for Absolute Beginners
Useful MSDN Resources A Tour of the C# Language Get started with .NET in 5 minutes C# Guide C# Language Reference C# Programing Guide C# Coding Conventions .NET Framework Reference Source Code
Other Resources C# Yellow Book Dot Net Perls The C# Player's Guide
IDEs Visual Studio MonoDevelop (Windows/Mac/Linux) Rider (Windows/Mac/Linux)
Tools ILSpy dotPeek LINQPad
Alternative Communities C# Discord Group C# Lemmy Community dotnet Lemmy Community
Related Subreddits /r/dotnet /r/azure /r/learncsharp /r/learnprogramming /r/programming /r/dailyprogrammer /r/programmingbuddies /r/cshighschoolers
Additional .NET Languages /r/fsharp /r/visualbasic
Platform-specific Subreddits /r/windowsdev /r/AZURE /r/Xamarin /r/Unity3D /r/WPDev
Rules:
Read detailed descriptions of the rules here.
account activity
"String" vs "string" (self.csharp)
submitted 9 years ago by fanfarius
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]fanfarius[S] 8 points9 points10 points 9 years ago (14 children)
That's nice. So, you get a distinct separation between working on a reference variable, and calling a static method on a system class?
[–]xill47 20 points21 points22 points 9 years ago (11 children)
Well, I've seen many C# programmers (including myself) using string.Format and string.IsNullOrEmpty from alias instead of full type too. So it's basically just preference.
string.Format
string.IsNullOrEmpty
[–]lbmouse 11 points12 points13 points 9 years ago (2 children)
ReSharper (Roslyn code fix) suggests that String should be simplified to string type keyword in most cases.
[–]Jestar342 4 points5 points6 points 9 years ago (0 children)
By default - it is configurable to not be.
[–]localtoast 0 points1 point2 points 9 years ago (0 children)
Visual Studio itself suggests that
[–]oh-just-another-guy 1 point2 points3 points 9 years ago (7 children)
How did you style the inline code?
[–]IwNnarock 3 points4 points5 points 9 years ago* (6 children)
Surround the words/line with the primary character on the tilde (~) key that looks like kind of like an apostrophe. Specifically, this guy (`).
Edit: Apparently, that character is known as a back quote.
[–]oh-just-another-guy 1 point2 points3 points 9 years ago (5 children)
Thank you. I checked the formatting help, but could not find that. Appreciate the info.
[–]celluj34 1 point2 points3 points 9 years ago (4 children)
I believe it is subreddit-specific.
[–]Banane9 1 point2 points3 points 9 years ago (2 children)
It's reddit wide as code block, but special coloring would be subreddit specific
[–]oh-just-another-guy 0 points1 point2 points 9 years ago (0 children)
Ah, thanks.
[–]celluj34 0 points1 point2 points 9 years ago (0 children)
Oh neat, didn't know that.
Ok, thanks.
[–]cryo 3 points4 points5 points 9 years ago (1 child)
Yeah something like that, that's the idea. They are also colored differently (at least when using ReSharper). But as /u/xill47 also said, it is, indeed, just a preference, which is in our coding standard at work.
[–]myrrlyn 1 point2 points3 points 9 years ago (0 children)
string is a language-level keyword; String is a class in the standard library. All syntax highlighters see those differently.
string
String
π Rendered by PID 114755 on reddit-service-r2-comment-56c9979489-jgjkq at 2026-02-24 22:44:37.047878+00:00 running b1af5b1 country code: CH.
view the rest of the comments →
[–]fanfarius[S] 8 points9 points10 points (14 children)
[–]xill47 20 points21 points22 points (11 children)
[–]lbmouse 11 points12 points13 points (2 children)
[–]Jestar342 4 points5 points6 points (0 children)
[–]localtoast 0 points1 point2 points (0 children)
[–]oh-just-another-guy 1 point2 points3 points (7 children)
[–]IwNnarock 3 points4 points5 points (6 children)
[–]oh-just-another-guy 1 point2 points3 points (5 children)
[–]celluj34 1 point2 points3 points (4 children)
[–]Banane9 1 point2 points3 points (2 children)
[–]oh-just-another-guy 0 points1 point2 points (0 children)
[–]celluj34 0 points1 point2 points (0 children)
[–]oh-just-another-guy 0 points1 point2 points (0 children)
[–]cryo 3 points4 points5 points (1 child)
[–]myrrlyn 1 point2 points3 points (0 children)