It limits the scope of variables to the block inside the { }.
More Related Contents:
- POST a form array without successful
- Encrypting & Decrypting a String in C# [duplicate]
- What does the => operator mean in a property?
- How to get Windows Display settings?
- SqlCommand Parameters Add vs. AddWithValue [duplicate]
- How can I close a login form and show the main form without my application closing?
- Parsing large JSON file in .NET
- Casting a variable using a Type variable
- ThreadStart with parameters
- Why can’t we change access modifier while overriding methods in C#?
- Mocking IPrincipal in ASP.NET Core
- C# create/modify/read .xlsx files
- How to ensure all data has been physically written to disk?
- String.Replace() vs. StringBuilder.Replace()
- What is the difference between .Equals and == [duplicate]
- How to elegantly deal with timezones
- How to avoid a System.Runtime.InteropServices.COMException?
- Problem Updating to .Net 6 – Encrypting String
- MVC: Where to put business logic? [closed]
- Overriding GetHashCode for mutable objects?
- GDI+ / C#: How to save an image as EMF?
- How do i split a String into multiple values?
- C# Regex: Checking for “a-z” and “A-Z”
- Simplest way to run three methods in parallel in C#
- ContextSwitchDeadlock Was Detected error in C#
- C# operator overload for `+=`?
- validate a dropdownlist in asp.net mvc
- Serialize/Deserialize dynamic property name using JSON.NET
- how to get both fields and properties in single call via reflection?
- Can I use NotifyIcon in WPF?