.Net
8 Extension Methods to Simplify Coding in 2020
I’m not a fan of creating extension methods that assume a string of a specific kind of string, such as a url or file path. The worst was last year’s: public static T To<T>(this string Read more…
I’m not a fan of creating extension methods that assume a string of a specific kind of string, such as a url or file path. The worst was last year’s: public static T To<T>(this string Read more…
Definitely adding this to the pile of side projects I wanna do in C# This guy has also a lot of other small projects, where you can learn much. Just checkout his YouTube channel guys. Read more…
Baeldung for reference https://docs.microsoft.com/de-de/dotnet/csharp/ Ah the Classic RTFM đ Wrong link, get it together: https://docs.microsoft.com/ko-kr/dotnet/csharp/ Read the Dokumentation https://metanit.com/sharp/tutorial/ Very good site for Russians đ But I donât think itâll help certainly for you dotnetperls.com Read more…
In Tensorflow official guide ( TensorFlow Lite inference ) they load and use a tflite model like this: But there is no Run method in Interpreter class: Any ideas ? no comments yet Be the Read more…
Hi! Finally I decided to start learning c#. The final goal is to create my own game (with unity), and I’d like to know all the stuff necessary to achieve this dream. I wanna be Read more…
I try to build a discord bot from the example page. But I got a problem. You find the code here: https://pastebin.com/H5puPBie (Token in there is invalid) On line 58 and the following it says Read more…
Hello, I was testing the new .Net 5 framework and the new C# 9 and by coincidence I came across the following situation: If I run the following code I get and InvalidCastException with the Read more…
Hi everyone, Is there a way to add âmiddlewareâ to log4net that would apply regex logic toward MASKING sensitive data; names, dob, etc. ? You could probably write your own appender that wrapped an existing Read more…
I feel like I’m kind of having a brain fart, and that there must be a cleaner way to do this, but… I want a method to apply damage to a stat, but if the Read more…
Can I use [FromServices] on a method’s parameter, when method is not an action, but Extension of the Controller? No, you can’t. Extension methods are syntax sugar on static functions, and will not be discovered Read more…