8000 Try .NET updates -- Array.xml (#3463) · CAndRyan/dotnet-api-docs@27811ff · GitHub
[go: up one dir, main page]

Skip to content

Commit 27811ff

Browse files
WilliamAntonRohmmairaw
authored andcommitted
Try .NET updates -- Array.xml (dotnet#3463)
* updating for Try .NET * reverted the change for the reverted sample
1 parent 0a76fc2 commit 27811ff

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

xml/System/Array.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@
9292

9393

9494
## Examples
95+
96+
[!INCLUDE[interactive-note](~/includes/csharp-interactive-note-some.md)]
97+
9598
The following code example shows how <xref:System.Array.Copy%2A?displayProperty=nameWithType> copies elements between an array of type integer and an array of type <xref:System.Object>.
9699

97100
[!code-cpp[Classic Array Example#1](~/samples/snippets/cpp/VS_Snippets_CLR_Classic/classic Array Example/CPP/source.cpp#1)]
@@ -101,7 +104,7 @@
101104
The following code example creates and initializes an <xref:System.Array> and displays its properties and its elements.
102105

103106
[!code-cpp[Classic Array Example#2](~/samples/snippets/cpp/VS_Snippets_CLR_Classic/classic Array Example/CPP/source3.cpp#2)]
104-
[!code-csharp[Classic Array Example#2](~/samples/snippets/csharp/VS_Snippets_CLR_Classic/classic Array Example/CS/source3.cs#2)]
107+
[!code-csharp-interactive[Classic Array Example#2](~/samples/snippets/csharp/VS_Snippets_CLR_Classic/classic Array Example/CS/source3.cs#2)]
105108
[!code-vb[Classic Array Example#2](~/samples/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Array Example/VB/source3.vb#2)]
106109

107110
]]></format>

0 commit comments

Comments
 (0)
0