Contents tagged with c#
-
High-level notes on the SynchronizationContext
DRAFT DRAFT DRAFT DRAFT DRAFT DRAFT DRAFT DRAFT DRAFT Questions to Answer How do we safely do a fire-and-forget with async/await? On what thread does the SynchronizationContext itself run? How … more
-
C# Nullable Type
How does it work? it is a struct that wraps a struct if the underlying struct has a value, then HasValue is true and Value returns the value. if the underlying struct lacks a value, then … more
-
The 15 ways of doing concurrency in .NET
A reliable source told me that there are 15 ways to do concurrency in .NET. The goal of this post is to write them all down with a brief note for each. I am not an expert in concurrency, so will not … more
-
C# Collections
Arrays. These are not technically a collection, because arrays have a fixed number of strongly-typed objects. Simple Collections (System.Collections) ArrayList BitArray HashTable Queue … more
-
Run codeformatter on an ASP.NET 5 project
Add a *.csproj to the root of your project (or an ancestor directory). It will be the target, can be named anything, and contains the following: Code2Format.csproj<Project xmlns="http://schemas. … more
-
Query expressions
DRAFT DRAFT DRAFT DRAFT These are my raw notes on section 7.16 of the C# Language Specification. Section 7.16 falls within section 7 on expressions. Heuristic Model Notes. Add notes for each … more
-
Some Sweet Things
JavaScript, CSS, HTML Typeahead.js Bootstrap AngularJS AngularUI C#, ASP.NET dotNetFiddle Run C# code online. StyleCop Why create your own style guide? Style Cop has already done it. Other … more
-
Predefined vs User-Defined
Predefined In version 5.0 of the C# language specification (hereafter called "the spec") the term predefined occurs 102 times and its hyphenated synonym pre-defined occurs 14 times. The spec uses it … more
-
MVP Poll Results - Learning, Languages, and Development
I've had the privilege recently of communicating with Microsoft MVPs on Yammer. I've been asking some questions about learning resources, languages, and software development. Here are some of the top … more
-
C# Implicit Conversions
DRAFT DRAFT DRAFT DRAFT DRAFT DRAFT DRAFT The following are my notes from section 6.1 of the C# Language Specification Heuristic Model Definitions. Add definitions for the chapter. Examples. … more