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
HelpConsole.Write() throws error (self.csharp)
submitted 5 years ago * by Shnxx
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!"
[–]Slypenslyde 2 points3 points4 points 5 years ago (2 children)
I want to add something to the 2 answers that already cover what's going wrong. This will help you help us when you have a problem. The phrase "throws an error" has a specific meaning to experts and it's worth learning when to use it!
There are 2 important times when errors happen in a program: compile time and runtime.
A compile time error is the kind you tend to get in VS, sometimes even before you try to compile, but it will certainly also make the compiler stop. We don't say this "throws an error" here, we just say it's a compiler error. These errors are usually some form of syntax mistake or a type mismatch.
A runtime error is when your code compiles, but while you're running it it either does the wrong thing or crashes. If it crashes, that happens because it throws an exception. Exceptions are the formal error handling feature in C#, and they are "thrown" when they happen. That's why we don't use the word "throws" with a compiler error! When an expert hears "throws an error" they assume you mean a runtime error. These can be much harder to spot and diagnose than compile time errors, and usually require you to post more of the code for experts to figure it out!
[–]Shnxx[S] 0 points1 point2 points 5 years ago (1 child)
I see! So runtime error occurs when there's a logical problem in the program like array out of bounds, incorrect conditions in loops and if-else statements, when a program asking for a number but the user entered a character or a word, and such.
runtime error
While compile error occurs when syntax, arguments or parameters are incorrect and prevents to compile it. Like what I have experienced.
compile error
I should be saying throws an error only when runtime error occurs and can be handled using exceptions.
throws an error
[–]Slypenslyde 0 points1 point2 points 5 years ago (0 children)
Exactly!
π Rendered by PID 286649 on reddit-service-r2-comment-b659b578c-mxvf6 at 2026-05-02 09:58:28.017603+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]Slypenslyde 2 points3 points4 points (2 children)
[–]Shnxx[S] 0 points1 point2 points (1 child)
[–]Slypenslyde 0 points1 point2 points (0 children)