Mark Zhou's Tech Blog

The developer who works for developers

C# 7 Series, Part 10: Span and universal memory management

Part 1: Value TuplesPart 2: Async MainPart 3: Default LiteralsPart 4: DiscardsPart 5: Private...

Author: mazhou Date: 03/25/2018

C# 7 Series, Part 9: ref structs

Part 1: Value TuplesPart 2: Async MainPart 3: Default LiteralsPart 4: DiscardsPart 5: Private...

Author: mazhou Date: 03/02/2018

C# 7 Series, Part 8: “in” Parameters

C# 7 SeriesPart 1: Value TuplesPart 2: Async MainPart 3: Default LiteralsPart 4: DiscardsPart 5:...

Author: mazhou Date: 01/08/2018

C# 7 Series, Part 7: Ref Returns

C# 7 SeriesPart 1: Value TuplesPart 2: Async MainPart 3: Default LiteralsPart 4: DiscardsPart 5:...

Author: mazhou Date: 12/12/2017

C# 7 Series, Part 6: Read-only structs

C# 7 SeriesPart 1: Value TuplesPart 2: Async MainPart 3: Default LiteralsPart 4: DiscardsPart 5:...

Author: mazhou Date: 11/21/2017

C# 7 Series, Part 5: Private Protected

C# has several accessibility modifiers, public, internal, internal protected, and private.Public:...

Author: mazhou Date: 10/05/2017

C# 7 Series, Part 4: Discards

Sometimes we want to ignore values returned from a method, especially those out arguments, a typical...

Author: mazhou Date: 06/27/2017

C# 7 Series, Part 3: Default Literals

C#’s default keyword has two kinds of usages: one is to label the fallback branch of the switch…case...

Author: mazhou Date: 06/06/2017

C# 7 Series, Part 2: Async Main

As you may know, there are two kinds of the programs the C# language can build. One is a program...

Author: mazhou Date: 05/30/2017

C# 7 Series, Part 1: Value Tuples

Starting today I will start a new C# 7 series, to introduce new language features of C# 7+ features....

Author: mazhou Date: 05/26/2017

Ad-hoc pagination support with SQL Server codenamed “Denali”

Microsoft has announced the Community Technology Preview (CTP) of its next generation SQL Server...

Author: mazhou.dev Date: 10/19/2011

The Asynchronous Programming Models

An important new feature of C# 5.0 that comes with Visual Studio 11 is the async and the await...

Author: mazhou.dev Date: 10/04/2011

Use dynamic type in Entity Framework 4.1 SqlQuery() method

As the release of Entity Framework 4.1, the DbContext.Database.SqlQuery() method offers a way to...

Author: mazhou.dev Date: 09/21/2011

Why no ForEach method on IEnumerable interfaces

I was asked many times recently regarding this topic, why not Microsoft introduce an extension...

Author: mazhou.dev Date: 09/21/2011

Welcome to my new place

I have decided to move my Tech Blog from http://www.markzhou.com/blog to...

Author: mazhou.dev Date: 09/20/2011