Skip to content

using statements and declarations (legacy page)

This older combined page has been replaced by separate single-feature guides:

The split reflects the fact that the classic using statement dates to C# 1.0 (2002), while using declarations and await using arrived in C# 8.0 (2019).