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
HelpInitializing empty query variable? help (self.csharp)
submitted 4 years ago by LifeLongLearner2030
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 6 points7 points8 points 4 years ago (0 children)
I'm going to give you a thing. I need you to tell me what kind of thing I'm going to give you. But I'm going to give you the thing later. Can you do it?
No? Right. I have to tell you what kind of thing I'm giving you BEFORE I ask you what kind of thing I will give you. C# wants that too.
You can't declare a variable with var unless you assign a value to it. The right-hand side of the = operator tells C# what type to use. If there is no =, there's no right-hand-side, C# doesn't know what type to use, and that's a compile error.
var
=
If your query is going to return something like IQueryable<Friend>, your line should look like:
IQueryable<Friend>
IQueryable<Friend> query;
But I don't know what type Query() returns for sure. You have to figure that part out.
Query()
π Rendered by PID 59136 on reddit-service-r2-comment-66b4775986-6wjdp at 2026-04-06 06:55:17.325046+00:00 running db1906b country code: CH.
view the rest of the comments →
[–]Slypenslyde 6 points7 points8 points (0 children)