Comment by Sinatr on Nuget versioning and claims about "forward compatibility"
Please check if you made a typo: 1.1.6? Maybe 1.16.0?
View ArticleComment by Sinatr on Why pCard after the following code is run.Money=”3000"...
Read about deep/shallow copy, I guess you want to clone.
View ArticleComment by Sinatr on DateTime c# is predefined? but only in Rider?
Worth mention another possibility - global using (C# 10+), where using global System; is required in just one (any?) cs-file of the project.
View ArticleComment by Sinatr on How is the Take() method working with IAsyncEnumerable
OMG, I needed 4 attempts to implement Take.
View ArticleComment by Sinatr on Calling a .NET Maui app to change a file name when saving
IPC is the first what comes in mind. But you can also extract qr-code functionality into dll (.net standard), then you can use it for all platforms. Actually there are several QR-code nugets around.
View ArticleComment by Sinatr on Difference between DispatchAsync and DispatchSync(async...
The first example is async void. You may need to create a blocking task running your lambda and wait for it, unless it's a fire-and-forget scenario.
View ArticleComment by Sinatr on Drawing a bounding box around UI Elements in Unity
For operations like this you don't want to have raw unprocessed images at hand. I am not sure if converting image to Sprite can help you. I guess sprites are designed for stuff like this, to perform...
View ArticleComment by Sinatr on Need help downgrading .NET version
Is app not working, refuse to install or what is the problem, due to which you decide to uninstall newer framework?
View ArticleApplication.Startup event limitations (bug?)
It says, I can use Startup event for many things, like initialization, creating multiple forms, blablabla.However, try to create a new WPF application and add this event handler: private void...
View ArticleComment by Sinatr on Table in unity is not saving values
You forgot to include button code. "The table keeps resetting" - what is table? Is field kebab your table? I'd expect to see recipes and ingredients (with counter) and a smart way to add/replace...
View ArticleComment by Sinatr on How to read the latest line from the csv file using...
Storing last read position, quickly rewinding and then reading just what's new is way better approach than re-reading whole data. What if more than one line was added since your last parsing?
View ArticleComment by Sinatr on Is there any way to Check that a GLB file is a valid or...
What exception? Using library function to load file looks like a valid approach to me, it may not be the best, but should do the job.
View ArticleComment by Sinatr on Is there a way to remove text formatting/custom fonts in...
This thing is done by using combining characters. I guess you can create a list of such characters and simply filter them.
View ArticleComment by Sinatr on Why does code runs faster in VS debug. WPF
Configuration doesn't matter. Attaching debugger is what makes difference. Run either version from Explorer, attach debugger, fps goes from 60 to 180.
View ArticleComment by Sinatr on What is needed to see "Databound columns" for DataSource...
AFAIR you need a proper data source, like DataTable. I guess you just need column names.
View ArticleComment by Sinatr on Could this Hardware Unique ID procedure get the same ids...
Hashes aren't unique keys.
View ArticleComment by Sinatr on What is not a covariant in OOPS
L3 is an attempt of contravariance.
View ArticleComment by Sinatr on Create multi folder file import windows service
The best way? Hmm.. Parallel.ForEach ?
View ArticleComment by Sinatr on List probing paths in current assembly in runtime where...
What about unmanaged libraries ? (tlrd).
View ArticleComment by Sinatr on Combine Array Elements Into One Index
string.Join? Or what would be element with index [1] in the new list?
View Article