.Net
It’s almost 2021, what resources of C# do you recommend to start/refresh besides the sidebar’s contents?
Sincerely, aspired career changer. no comments yet Be the first to share what you think! C# devs null reference exceptions source
Sincerely, aspired career changer. no comments yet Be the first to share what you think! C# devs null reference exceptions source
no comments yet Be the first to share what you think! C# devs null reference exceptions source
Hi! I’m currently learning C# and Forms, I need a way to get colors from an int variable, but not as an argb code. In the documentation I see that color class has properties ordered Read more…
Hey C# folks, I’m looking for some best practices on exception handling while maintaining some level of cleanliness – Say I have code somewhat like below…. RunSQLQuery is either going to throw a SqlException “Operation Read more…
I’ve googled this and have gotten a wide variety of solutions, all extremely confusing to understand, and even copy and pasting the code doesn’t work, they’re also from multiple years ago and could probably be Read more…
I initially liked object initializers because of the minimized amount of code it generates. However, I’ve noticed lately if you are initializing properties and one of them throws an exception, you don’t know which one Read more…
So I have a program that does more or less this: read list of element attributes from XML with structure like <tag dbfield="@column">data</tag> element names correspond to columns in SQL database generate data and add Read more…
This is the task I need to finish: Create a program that asks you to enter a password. If you enter an error, it must be reported and you can try again. The program only Read more…
Removed: Rule 3, Rule 4. You would need to provide code or more context, perhaps particularly your AJAX calls. If this is a general platform (IIS) and JavaScript issue and generally unrelated to C#, perhaps Read more…
Removed: Rule 3. There is Windows 10 Sandbox amd the now-free Sandboxie tool if you want to run a program in a sandboxed environment. It’s probably more what you need than compiling something. Especially if Read more…