C
C#
help
❔ Is it possible to put a method into a variable and call the variable?
Looking for more? Join the community!
C
C#
help
C
C#
help
Want results from more Discord servers?
Recommended Posts❔ Getting error 500 on form post (using fetch)I'm trying to do a form post (posting a model), but my controller is not being called. When I check❔ Need some help with logicim trying to make a the total defence and attack statistics equal to 35 (they are randomised for 6 p❔ when instancing a class, why do you need to write the class name twice?This just seems sort of redundant to me, is there a reason?
```csharp
ClassName objectName = new Cl❔ JWT token claims not working anymore after deploying application to Azure web app.The code that is working inside a controller locally but not working when deployed on azure
Attempt✅ Dapper InsertAsync fails on Postgres with relation does not existHello,
I am currently trying to run Dapper CRUD operations (Dapper.Contrib.Extensions) on a database❔ Key press on ButtonI want to make a tool where you press a button so that a key is pressed❔ How bad is this Linq code?```csharp
if (getBeginningContent == false)
dynContentList = await _context.DynamicContents
❔ Please Help! When I flip my character he moves backwardsHey guys... so I have a problem with my player controller... when I flip it to the other direction m✅ Source Generator, dynamic assembly not added.I have the following code:
```cs
var assemblyName = new AssemblyName("MyAssembly");
✅ EFCore Nullability and Circular ReferencesI have 2 tables which have FK's to each other due to the relationship.
I'm trying to add some seed Is there a concurrent ordered collection?And if there isn't, how would you find a workaround for a bunch of threads generating some data and ❔ Helpis it okay to define the set function of a property as public but add it a statement that checks tha❔ NLua csharp hooksHi. Im using `NLua` to embed `Lua` in my project.
Rn i can replace default `print` method to use ho❔ class library project wont find resourcesi have an console app in c sharp with this method of loading resources, it works fine but in class l❔ Visual Studio 2022 ErrorIn Visual Studio 2022 I'm trying to make a script but it says the word 'Module' is not found in the✅ Ordering IQueryable by the indexes of another list```cs
List<int> savedPostIds = await _db.SavedPosts
.Where(a => a.account.us❔ ✅ error CS0150 A constant value is expected```cs
using MoreLinq;
string[] cards = {"rock", "paper", "scissors"};
Dictionary<string, string> ❔ Unable to change font in VS 2019Hello, i have persisting problem in my c# project made in VS 2019. I made a custom class that is supHow to use use ReadKey in a Task when i'm using ReadKey elsewhere to stop the program from exiting?I start a Task and then use Console.ReadKey to stop the program from exiting. I want to use ReadKey Swagger Doc failedWhat's wrong with it?
```cs
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Comma