By tag: Number
0
kicks
Calculating prime numbers with LINQ in C#
It is a beautiful proof of the power and expressiveness of LINQ. The query expression states that from each value i in the Enumerable.Range(2, max - 1) where all elements of the range Enumerable.Range(2, i – 2) satisfy the condition All(j => i % j != 0), we select i.
0
kicks
Screencast: a FieldPackEditor is not just for dates and times
How the FieldPackEditor component, usually serving as a DateTimePicker replacement, can also be used to build rich rule-based field editors.
0
kicks
Choose a standard number format
The problem begins when your web application is set to automatically resolve the culture through the browser. It is by default. All these different cultures have different ways to look at numbers and decimals and that’s all built directly into the .NET Framework.