Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/csharp/how-to/modify-string-contents.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "How to modify string contents - C# Guide"
description: Review examples of several techniques to modify existing string contents in C#, which return a new string object.
ms.date: 02/26/2018
helpviewer_keywords:
- "strings [C#], modifying"
Expand Down
1 change: 1 addition & 0 deletions docs/csharp/how-to/search-strings.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "How to search strings (C# Guide)"
description: Learn about two strategies to search for text in strings in C#. String class methods search for specific text. Regular expressions search for patterns in text.
ms.date: 02/21/2018
helpviewer_keywords:
- "searching strings [C#]"
Expand Down
1 change: 1 addition & 0 deletions docs/csharp/programming-guide/arrays/arrays-as-objects.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "Arrays as Objects - C# Programming Guide"
description: Arrays in C# are Objects of the abstract base type Array. You can use the properties and other class members of Array, such as the Length property.
ms.date: 07/20/2015
helpviewer_keywords:
- "arrays [C#], as objects"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "Implicitly Typed Arrays - C# Programming Guide"
description: The type of an implicitly-typed array in C# is inferred from the elements in the array initializer. Use implicitly-typed arrays in query expressions.
ms.date: 07/20/2015
helpviewer_keywords:
- "arrays [C#], implicitly-typed"
Expand Down
1 change: 1 addition & 0 deletions docs/csharp/programming-guide/arrays/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "Arrays - C# Programming Guide"
description: Store multiple variables of the same type in an array data structure in C#. Declare an array by specifying a type or specify Object to store any type.
ms.date: 07/20/2015
helpviewer_keywords:
- "arrays [C#]"
Expand Down
1 change: 1 addition & 0 deletions docs/csharp/programming-guide/arrays/jagged-arrays.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "Jagged Arrays - C# Programming Guide"
description: A jagged array in C# is an array whose elements are arrays of different dimensions and sizes. Learn how to declare, initialize, and access jagged arrays.
ms.date: 07/20/2015
helpviewer_keywords:
- "jagged arrays [C#]"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "Multidimensional Arrays - C# Programming Guide"
description: Arrays in C# can have more than one dimension. This example declaration creates a two-dimensional array of four rows and two columns.
ms.date: 07/20/2015
helpviewer_keywords:
- "arrays [C#], multidimensional"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "Passing arrays as arguments - C# Programming Guide"
description: Arrays in C# can be passed as arguments to method parameters. Because arrays are reference types, the method can change the value of the elements.
ms.date: 07/05/2018
helpviewer_keywords:
- "arrays [C#], passing as arguments"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "Single-Dimensional Arrays - C# Programming Guide"
description: Create a single-dimensional array in C# using the new operator specifying the array element type and the number of elements.
ms.date: 06/03/2020
helpviewer_keywords:
- "single-dimensional arrays [C#]"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "Using foreach with arrays - C# Programming Guide"
description: The foreach statement in C# iterates through the elements of an array. For single-dimensional arrays, foreach processes elements in increasing index order.
ms.date: 05/23/2018
helpviewer_keywords:
- "arrays [C#], foreach"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "Abstract and Sealed Classes and Class Members - C# Programming Guide"
description: The abstract keyword in C# creates incomplete classes and class members. The sealed keyword prevents inheritance of previously virtual classes or class members.
ms.date: 07/20/2015
helpviewer_keywords:
- "abstract classes [C#]"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "Access Modifiers - C# Programming Guide"
description: All types and type members in C# have an accessibility level which controls whether they can be used from other code. Review this list of access modifiers.
ms.date: 03/08/2020
helpviewer_keywords:
- "C# Language, access modifiers"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "Anonymous Types - C# Programming Guide"
description: Anonymous types in C# encapsulate a set of read-only properties in an object without having to explicitly define a type. The compiler generates a name.
ms.date: 07/20/2015
helpviewer_keywords:
- "anonymous types [C#]"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "Auto-Implemented Properties - C# Programming Guide"
description: For an auto-implemented property in C#, the complier creates a private, anonymous backing field accessed only through get and set accessors of the property.
ms.date: 01/31/2020
helpviewer_keywords:
- "auto-implemented properties [C#]"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "Constants - C# Programming Guide"
description: Constants in C# are compile-time literal values, which do not change once the program is compiled. Only C# built-in types can be constants.
ms.date: 07/20/2015
helpviewer_keywords:
- "C# language, constants"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "Constructors - C# Programming Guide"
description: A constructor in C# is called when a class or struct is created. Use constructors to set defaults, limit instantiation, and write flexible, easy-to-read code.
ms.date: 05/05/2017
helpviewer_keywords:
- "constructors [C#]"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "Finalizers - C# Programming Guide"
description: Finalizers in C#, which are also called destructors, perform any necessary final clean-up when a class instance is being collected by the garbage collector.
ms.date: 10/08/2018
helpviewer_keywords:
- "~ [C#], in finalizers"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "Extension Methods - C# Programming Guide"
description: Extension methods in C# enable you to add methods to existing types without creating a new derived type, recompiling, or otherwise modifying the original type.
ms.date: 03/19/2020
helpviewer_keywords:
- "methods [C#], adding to existing types"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Fields - C# Programming Guide
description: A field in C# is a variable of any type that is declared directly in a class or struct. Fields are members of their containing type.
ms.date: 07/20/2015
helpviewer_keywords:
- "fields [C#]"
Expand Down
1 change: 1 addition & 0 deletions docs/csharp/programming-guide/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "C# Programming Guide"
description: Use these resources for detailed information on key C# language features and features accessible to C# through .NET.
ms.date: 05/02/2017
f1_keywords:
- "cs.langref"
Expand Down