Fibonacci Sequence in C#: Iterative, Recursive and BigInteger
Calculate Fibonacci numbers in C# iteratively and recursively, see why the naive recursion is so slow, and avoid the overflow at F(47) and F(93).
Calculate Fibonacci numbers in C# iteratively and recursively, see why the naive recursion is so slow, and avoid the overflow at F(47) and F(93).
Download files in C# with HttpClient, asynchronously or synchronously, with progress reporting, cancellation, and no half-written files when a download fails.
Format integers as hex with the X specifier, parse hex strings back with int.Parse or Convert.ToInt32, and convert byte arrays with Convert.ToHexString.
List hidden files in a folder in C# with DirectoryInfo and FileAttributes, and avoid the EnumerationOptions default that skips them.
XPath queries in C# with XmlDocument and XDocument: filter by position or value, use count() and sum(), and handle XML namespaces correctly.