Coding
Need a way to remember how to use LINQ Aggregate
Look, I’ve been programming the LINQ operators in C# since they began and have been quick to adopt them, but I ALWAYS forget how to use Aggregate. I end up searching in my code for Read more…
Look, I’ve been programming the LINQ operators in C# since they began and have been quick to adopt them, but I ALWAYS forget how to use Aggregate. I end up searching in my code for Read more…
I’m developing a desktop application for managing vehicles, equipment, material, and personnel in a company. I’m at a point where I can insert and query well enough, my database is normalized to well beyond 3NF, Read more…
I use SimpleInjector in WPF applications and it would be applicable for console applications as well. The procedure in video is nice tho, didnt know you can use it like that I used SimpleInjector too! Read more…
C# absolute beginner here, coming from PHP. I am writing a C# Console Application that fetches upcoming [GoToWebinars](https://developer.goto.com/GoToWebinarV2/) and stores them in a database. For Oauth it seems I need to make a call to Read more…
I have this line of code: nameof(Class) + "." + nameof(Class.Property). Is there a simpler way to write this? Can I write an extension for this?I can’t think of a way of simplifying it. You Read more…
I was wanting to know if it would be possible to check for an error in a certain line of code before you run it, so that, for example, the program could notify the user Read more…
Something you think you should have known earlier? That thing that made it all click? Tips that made your life easier? Not about C# specifically, but I wish I had known how important the separation Read more…
So im trying to connect to an sql server database and i have to type in the connection string but the problem is idk how to format the string since it has the path to Read more…
Solid list. Having the tool that checks all this would be awesome. You mean a linter? Rssharper check it all I think Curly braces in the new line are not as important as other things. Read more…
Hi, I have created a database with data types such as Name, Age, 15cm, 20cm, 25cm and 30cm. I am using C# and Visual Studio. I would like to select a certain person (Name or Read more…