I have string which contains a variable. But i need to replace the name with what i have in the db.string text = "hello $$name$$, good morning"
We are working with financial calculations. I found this post about storing money values as decimals: decimal vs double! - Which one should I use and when?
I've recently seen the following code:Basically I try to dig into new c# 8 features. One of them is NullableReferenceTypes. Actually there're a lot of articles and information about it already. E.g. this article is quite good. But I din't find any information about this new statement null! Can someone...
Ok so I have been reading up a lot and working on the best ways to use async methods and task, etc. I believe I'm (mostly) understanding it but I want to check to make sure.
So I have some code in VB that I am trying to convert to C#. This code was written by someone else and I am trying to understand it but with some difficulty. I have some bitwise operator and enum comparison to do but keep throwing an error out:
I've run into an interesting problem when converting API data to a C# class in UWP.I have an API that returns image dimensions, like this:
As the title says, I noticed that the categories are not shown in a **PropertyGrid* (in its default collection editor) for a collection(Of T), when all the properties of class "T" are read-only.
I need to write a big file in my project.What I learned:I should NOT write the big file directly to the destination path, because this may leave a incomplete file in case the app crash while writing it.
is it possible to differ the variable I'm assigning to depending on a condition? The issue I came across is wanting to do this:
Is there any relationship between the open types List<> and IEnumerable<>?Example:Is there any method to check the relationship between two open type, or the relationship only exist on closed type?