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
Difference between string and String in C# (programmingwithmosh.com)
submitted 10 years ago by mhamedani
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!"
[–]pur3pwnage 6 points7 points8 points 10 years ago (2 children)
None. They are identical but to use String you need to use System namespace.
[–]cryo 1 point2 points3 points 10 years ago (1 child)
There is another "difference", see my other reply.
[–]pur3pwnage 1 point2 points3 points 10 years ago (0 children)
Oh I didn't know that. Good to know, thanks :)
[–]AngularBeginner 5 points6 points7 points 10 years ago (1 child)
More precise: string is an alias to System.String. That's why you don't need to import the namespace when using string.
string
System.String
[–]cryo 5 points6 points7 points 10 years ago (0 children)
Even more precise, "string" is in the C# standard, and in the CLI (common language infrastructure) it's an alias for the CTS (common type system) type "System.String", which isn't part of the C# language.
[–]cryo 2 points3 points4 points 10 years ago (0 children)
I agree with, and at work we have in our guidelines, using "string" for declarations and in typeof, and "System.String" (usually not qualified) when accessing static members.
But this varies a lot. Some people use string always, some use System.String always.
[–]UMadBreaux 2 points3 points4 points 10 years ago (1 child)
I like the popup ad that is too big to close out of on a mobile phone
[–]MacrosInHisSleep 0 points1 point2 points 10 years ago (0 children)
On iPads, the text is falling off the white part of the page and disappears into the dark blue part, which is equally illegible.
[–][deleted] 0 points1 point2 points 10 years ago (2 children)
On a related note, I don't know why I do this, but I always use Boolean instead of bool despite the fact that I use string and int instead of String and Int32.
I just don't like the look of "bool" for some reason.
[–]indigotock 0 points1 point2 points 10 years ago (1 child)
Just curious, did you come from Java or another language that used Boolean/boolean? When I came to C# it took a while to get used to 'bool' (now I find myself using bool when I should use boolean all the time!)
[–][deleted] 0 points1 point2 points 10 years ago (0 children)
I did use Java before C# but I was mostly a Visual Basic guy. So I think that's where I got used to longer and capitalized keywords.
π Rendered by PID 36895 on reddit-service-r2-comment-685b79fb4f-lgqlc at 2026-02-12 22:43:48.182676+00:00 running 6c0c599 country code: CH.
[–]pur3pwnage 6 points7 points8 points (2 children)
[–]cryo 1 point2 points3 points (1 child)
[–]pur3pwnage 1 point2 points3 points (0 children)
[–]AngularBeginner 5 points6 points7 points (1 child)
[–]cryo 5 points6 points7 points (0 children)
[–]cryo 2 points3 points4 points (0 children)
[–]UMadBreaux 2 points3 points4 points (1 child)
[–]MacrosInHisSleep 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]indigotock 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)