|
2736 | 2736 | ## Examples
|
2737 | 2737 | The following code example demonstrates how to use <xref:System.Linq.Queryable.ElementAtOrDefault%60%601%28System.Linq.IQueryable%7B%60%600%7D%2CSystem.Int32%29>. This example uses a value for `index` that is outside the bounds of the source sequence.
|
2738 | 2738 |
|
2739 |
| - [!code-csharp[System.Linq.Queryable#29](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Linq.Queryable/CS/queryable.cs#29)] |
2740 |
| - [!code-vb[System.Linq.Queryable#29](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb#29)] |
2741 |
| - |
| 2739 | + :::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Linq.Queryable/CS/queryable.cs" interactive="try-dotnet-method" id="Snippet29"::: |
| 2740 | + :::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet29"::: |
| 2741 | + |
2742 | 2742 | ]]></format>
|
2743 | 2743 | </remarks>
|
2744 | 2744 | <exception cref="T:System.ArgumentNullException">
|
|
4548 | 4548 | ## Examples
|
4549 | 4549 | The following code example demonstrates how to use <xref:System.Linq.Queryable.LongCount%60%601%28System.Linq.IQueryable%7B%60%600%7D%29> to count the elements in an array.
|
4550 | 4550 |
|
4551 |
| - [!code-csharp[System.Linq.Queryable#47](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Linq.Queryable/CS/queryable.cs#47)] |
4552 |
| - [!code-vb[System.Linq.Queryable#47](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb#47)] |
4553 |
| - |
| 4551 | + :::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Linq.Queryable/CS/queryable.cs" interactive="try-dotnet-method" id="Snippet47"::: |
| 4552 | + :::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet47"::: |
| 4553 | + |
4554 | 4554 | ]]></format>
|
4555 | 4555 | </remarks>
|
4556 | 4556 | <exception cref="T:System.ArgumentNullException">
|
|
4617 | 4617 |
|
4618 | 4618 | [!code-csharp[System.Linq.Queryable#48](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Linq.Queryable/CS/queryable.cs#48)]
|
4619 | 4619 | [!code-vb[System.Linq.Queryable#48](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb#48)]
|
4620 |
| - |
| 4620 | + |
4621 | 4621 | ]]></format>
|
4622 | 4622 | </remarks>
|
4623 | 4623 | <exception cref="T:System.ArgumentNullException">
|
|
5328 | 5328 | ## Examples
|
5329 | 5329 | The following code example demonstrates how to use <xref:System.Linq.Queryable.Reverse%60%601%28System.Linq.IQueryable%7B%60%600%7D%29> to reverse the order of elements in an array.
|
5330 | 5330 |
|
5331 |
| - [!code-csharp[System.Linq.Queryable#74](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Linq.Queryable/CS/queryable.cs#74)] |
5332 |
| - [!code-vb[System.Linq.Queryable#74](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb#74)] |
5333 |
| - |
| 5331 | + :::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Linq.Queryable/CS/queryable.cs" interactive="try-dotnet-method" id="Snippet74"::: |
| 5332 | + :::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet74"::: |
| 5333 | + |
5334 | 5334 | ]]></format>
|
5335 | 5335 | </remarks>
|
5336 | 5336 | <exception cref="T:System.ArgumentNullException">
|
@@ -6385,9 +6385,9 @@ If `count` is not a positive number, this method returns an identical copy of th
|
6385 | 6385 | ## Examples
|
6386 | 6386 | The following code example demonstrates how to use <xref:System.Linq.Queryable.SkipWhile%60%601%28System.Linq.IQueryable%7B%60%600%7D%2CSystem.Linq.Expressions.Expression%7BSystem.Func%7B%60%600%2CSystem.Boolean%7D%7D%29> to skip elements of an array as long as a condition is true.
|
6387 | 6387 |
|
6388 |
| - [!code-csharp[System.Linq.Queryable#88](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Linq.Queryable/CS/queryable.cs#88)] |
6389 |
| - [!code-vb[System.Linq.Queryable#88](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb#88)] |
6390 |
| - |
| 6388 | + :::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Linq.Queryable/CS/queryable.cs" interactive="try-dotnet-method" id="Snippet88"::: |
| 6389 | + :::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet88"::: |
| 6390 | + |
6391 | 6391 | ]]></format>
|
6392 | 6392 | </remarks>
|
6393 | 6393 | <exception cref="T:System.ArgumentNullException">
|
@@ -6451,9 +6451,9 @@ If `count` is not a positive number, this method returns an identical copy of th
|
6451 | 6451 | ## Examples
|
6452 | 6452 | The following code example demonstrates how to use <xref:System.Linq.Queryable.SkipWhile%60%601%28System.Linq.IQueryable%7B%60%600%7D%2CSystem.Linq.Expressions.Expression%7BSystem.Func%7B%60%600%2CSystem.Int32%2CSystem.Boolean%7D%7D%29> to skip elements of an array as long as a condition that depends on the element's index is true.
|
6453 | 6453 |
|
6454 |
| - [!code-csharp[System.Linq.Queryable#89](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Linq.Queryable/CS/queryable.cs#89)] |
6455 |
| - [!code-vb[System.Linq.Queryable#89](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb#89)] |
6456 |
| - |
| 6454 | + :::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Linq.Queryable/CS/queryable.cs" interactive="try-dotnet-method" id="Snippet89"::: |
| 6455 | + :::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet89"::: |
| 6456 | + |
6457 | 6457 | ]]></format>
|
6458 | 6458 | </remarks>
|
6459 | 6459 | <exception cref="T:System.ArgumentNullException">
|
@@ -6514,16 +6514,6 @@ If `count` is not a positive number, this method returns an identical copy of th
|
6514 | 6514 |
|
6515 | 6515 | The query behavior that occurs as a result of executing an expression tree that represents calling <xref:System.Linq.Queryable.Sum%28System.Linq.IQueryable%7BSystem.Decimal%7D%29> depends on the implementation of the type of the `source` parameter. The expected behavior is that it returns the sum of the values in `source`.
|
6516 | 6516 |
|
6517 |
| - |
6518 |
| - |
6519 |
| -## Examples |
6520 |
| - The following code example demonstrates how to use <xref:System.Linq.Queryable.Sum%28System.Linq.IQueryable%7BSystem.Single%7D%29> to sum the values of a sequence. |
6521 |
| - |
6522 |
| - [!INCLUDE[sqo_diff_overload_example_elementtype](~/includes/sqo-diff-overload-example-elementtype-md.md)] |
6523 |
| - |
6524 |
| - [!code-csharp[System.Linq.Queryable#120](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Linq.Queryable/CS/queryable.cs#120)] |
6525 |
| - [!code-vb[System.Linq.Queryable#120](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb#120)] |
6526 |
| - |
6527 | 6517 | ]]></format>
|
6528 | 6518 | </remarks>
|
6529 | 6519 | <exception cref="T:System.ArgumentNullException">
|
@@ -6575,16 +6565,6 @@ If `count` is not a positive number, this method returns an identical copy of th
|
6575 | 6565 |
|
6576 | 6566 | The query behavior that occurs as a result of executing an expression tree that represents calling <xref:System.Linq.Queryable.Sum%28System.Linq.IQueryable%7BSystem.Double%7D%29> depends on the implementation of the type of the `source` parameter. The expected behavior is that it returns the sum of the values in `source`.
|
6577 | 6567 |
|
6578 |
| - |
6579 |
| - |
6580 |
| -## Examples |
6581 |
| - The following code example demonstrates how to use <xref:System.Linq.Queryable.Sum%28System.Linq.IQueryable%7BSystem.Single%7D%29> to sum the values of a sequence. |
6582 |
| - |
6583 |
| - [!INCLUDE[sqo_diff_overload_example_elementtype](~/includes/sqo-diff-overload-example-elementtype-md.md)] |
6584 |
| - |
6585 |
| - [!code-csharp[System.Linq.Queryable#120](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Linq.Queryable/CS/queryable.cs#120)] |
6586 |
| - [!code-vb[System.Linq.Queryable#120](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb#120)] |
6587 |
| - |
6588 | 6568 | ]]></format>
|
6589 | 6569 | </remarks>
|
6590 | 6570 | <exception cref="T:System.ArgumentNullException">
|
@@ -6635,16 +6615,6 @@ If `count` is not a positive number, this method returns an identical copy of th
|
6635 | 6615 |
|
6636 | 6616 | The query behavior that occurs as a result of executing an expression tree that represents calling <xref:System.Linq.Queryable.Sum%28System.Linq.IQueryable%7BSystem.Int32%7D%29> depends on the implementation of the type of the `source` parameter. The expected behavior is that it returns the sum of the values in `source`.
|
6637 | 6617 |
|
6638 |
| - |
6639 |
| - |
6640 |
| -## Examples |
6641 |
| - The following code example demonstrates how to use <xref:System.Linq.Queryable.Sum%28System.Linq.IQueryable%7BSystem.Single%7D%29> to sum the values of a sequence. |
6642 |
| - |
6643 |
| - [!INCLUDE[sqo_diff_overload_example_elementtype](~/includes/sqo-diff-overload-example-elementtype-md.md)] |
6644 |
| - |
6645 |
| - [!code-csharp[System.Linq.Queryable#120](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Linq.Queryable/CS/queryable.cs#120)] |
6646 |
| - [!code-vb[System.Linq.Queryable#120](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb#120)] |
6647 |
| - |
6648 | 6618 | ]]></format>
|
6649 | 6619 | </remarks>
|
6650 | 6620 | <exception cref="T:System.ArgumentNullException">
|
@@ -6695,17 +6665,7 @@ If `count` is not a positive number, this method returns an identical copy of th
|
6695 | 6665 | The <xref:System.Linq.Queryable.Sum%28System.Linq.IQueryable%7BSystem.Int64%7D%29> method generates a <xref:System.Linq.Expressions.MethodCallExpression> that represents calling <xref:System.Linq.Queryable.Sum%28System.Linq.IQueryable%7BSystem.Int64%7D%29> itself as a constructed generic method. It then passes the <xref:System.Linq.Expressions.MethodCallExpression> to the <xref:System.Linq.IQueryProvider.Execute%60%601%28System.Linq.Expressions.Expression%29> method of the <xref:System.Linq.IQueryProvider> represented by the <xref:System.Linq.IQueryable.Provider%2A> property of the `source` parameter.
|
6696 | 6666 |
|
6697 | 6667 | The query behavior that occurs as a result of executing an expression tree that represents calling <xref:System.Linq.Queryable.Sum%28System.Linq.IQueryable%7BSystem.Int64%7D%29> depends on the implementation of the type of the `source` parameter. The expected behavior is that it returns the sum of the values in `source`.
|
6698 |
| - |
6699 |
| - |
6700 |
| - |
6701 |
| -## Examples |
6702 |
| - The following code example demonstrates how to use <xref:System.Linq.Queryable.Sum%28System.Linq.IQueryable%7BSystem.Single%7D%29> to sum the values of a sequence. |
6703 |
| - |
6704 |
| - [!INCLUDE[sqo_diff_overload_example_elementtype](~/includes/sqo-diff-overload-example-elementtype-md.md)] |
6705 |
| - |
6706 |
| - [!code-csharp[System.Linq.Queryable#120](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Linq.Queryable/CS/queryable.cs#120)] |
6707 |
| - [!code-vb[System.Linq.Queryable#120](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb#120)] |
6708 |
| - |
| 6668 | + |
6709 | 6669 | ]]></format>
|
6710 | 6670 | </remarks>
|
6711 | 6671 | <exception cref="T:System.ArgumentNullException">
|
@@ -6756,17 +6716,7 @@ If `count` is not a positive number, this method returns an identical copy of th
|
6756 | 6716 | The <xref:System.Linq.Queryable.Sum%28System.Linq.IQueryable%7BSystem.Nullable%7BSystem.Decimal%7D%7D%29> method generates a <xref:System.Linq.Expressions.MethodCallExpression> that represents calling <xref:System.Linq.Queryable.Sum%28System.Linq.IQueryable%7BSystem.Nullable%7BSystem.Decimal%7D%7D%29> itself as a constructed generic method. It then passes the <xref:System.Linq.Expressions.MethodCallExpression> to the <xref:System.Linq.IQueryProvider.Execute%60%601%28System.Linq.Expressions.Expression%29> method of the <xref:System.Linq.IQueryProvider> represented by the <xref:System.Linq.IQueryable.Provider%2A> property of the `source` parameter.
|
6757 | 6717 |
|
6758 | 6718 | The query behavior that occurs as a result of executing an expression tree that represents calling <xref:System.Linq.Queryable.Sum%28System.Linq.IQueryable%7BSystem.Nullable%7BSystem.Decimal%7D%7D%29> depends on the implementation of the type of the `source` parameter. The expected behavior is that it returns the sum of the values in `source`.
|
6759 |
| - |
6760 |
| - |
6761 |
| - |
6762 |
| -## Examples |
6763 |
| - The following code example demonstrates how to use <xref:System.Linq.Queryable.Sum%28System.Linq.IQueryable%7BSystem.Nullable%7BSystem.Single%7D%7D%29> to sum the values of a sequence. |
6764 |
| - |
6765 |
| - [!INCLUDE[sqo_diff_overload_example_elementtype](~/includes/sqo-diff-overload-example-elementtype-md.md)] |
6766 |
| - |
6767 |
| - [!code-csharp[System.Linq.Queryable#121](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Linq.Queryable/CS/queryable.cs#121)] |
6768 |
| - [!code-vb[System.Linq.Queryable#121](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb#121)] |
6769 |
| - |
| 6719 | + |
6770 | 6720 | ]]></format>
|
6771 | 6721 | </remarks>
|
6772 | 6722 | <exception cref="T:System.ArgumentNullException">
|
@@ -6817,17 +6767,7 @@ If `count` is not a positive number, this method returns an identical copy of th
|
6817 | 6767 | The <xref:System.Linq.Queryable.Sum%28System.Linq.IQueryable%7BSystem.Nullable%7BSystem.Double%7D%7D%29> method generates a <xref:System.Linq.Expressions.MethodCallExpression> that represents calling <xref:System.Linq.Queryable.Sum%28System.Linq.IQueryable%7BSystem.Nullable%7BSystem.Double%7D%7D%29> itself as a constructed generic method. It then passes the <xref:System.Linq.Expressions.MethodCallExpression> to the <xref:System.Linq.IQueryProvider.Execute%60%601%28System.Linq.Expressions.Expression%29> method of the <xref:System.Linq.IQueryProvider> represented by the <xref:System.Linq.IQueryable.Provider%2A> property of the `source` parameter.
|
6818 | 6768 |
|
6819 | 6769 | The query behavior that occurs as a result of executing an expression tree that represents calling <xref:System.Linq.Queryable.Sum%28System.Linq.IQueryable%7BSystem.Nullable%7BSystem.Double%7D%7D%29> depends on the implementation of the type of the `source` parameter. The expected behavior is that it returns the sum of the values in `source`.
|
6820 |
| - |
6821 |
| - |
6822 |
| - |
6823 |
| -## Examples |
6824 |
| - The following code example demonstrates how to use <xref:System.Linq.Queryable.Sum%28System.Linq.IQueryable%7BSystem.Nullable%7BSystem.Single%7D%7D%29> to sum the values of a sequence. |
6825 |
| - |
6826 |
| - [!INCLUDE[sqo_diff_overload_example_elementtype](~/includes/sqo-diff-overload-example-elementtype-md.md)] |
6827 |
| - |
6828 |
| - [!code-csharp[System.Linq.Queryable#121](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Linq.Queryable/CS/queryable.cs#121)] |
6829 |
| - [!code-vb[System.Linq.Queryable#121](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb#121)] |
6830 |
| - |
| 6770 | + |
6831 | 6771 | ]]></format>
|
6832 | 6772 | </remarks>
|
6833 | 6773 | <exception cref="T:System.ArgumentNullException">
|
@@ -6878,16 +6818,6 @@ If `count` is not a positive number, this method returns an identical copy of th
|
6878 | 6818 |
|
6879 | 6819 | The query behavior that occurs as a result of executing an expression tree that represents calling <xref:System.Linq.Queryable.Sum%28System.Linq.IQueryable%7BSystem.Nullable%7BSystem.Int32%7D%7D%29> depends on the implementation of the type of the `source` parameter. The expected behavior is that it returns the sum of the values in `source`.
|
6880 | 6820 |
|
6881 |
| - |
6882 |
| - |
6883 |
| -## Examples |
6884 |
| - The following code example demonstrates how to use <xref:System.Linq.Queryable.Sum%28System.Linq.IQueryable%7BSystem.Nullable%7BSystem.Single%7D%7D%29> to sum the values of a sequence. |
6885 |
| - |
6886 |
| - [!INCLUDE[sqo_diff_overload_example_elementtype](~/includes/sqo-diff-overload-example-elementtype-md.md)] |
6887 |
| - |
6888 |
| - [!code-csharp[System.Linq.Queryable#121](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Linq.Queryable/CS/queryable.cs#121)] |
6889 |
| - [!code-vb[System.Linq.Queryable#121](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb#121)] |
6890 |
| - |
6891 | 6821 | ]]></format>
|
6892 | 6822 | </remarks>
|
6893 | 6823 | <exception cref="T:System.ArgumentNullException">
|
@@ -6938,17 +6868,7 @@ If `count` is not a positive number, this method returns an identical copy of th
|
6938 | 6868 | The <xref:System.Linq.Queryable.Sum%28System.Linq.IQueryable%7BSystem.Nullable%7BSystem.Int64%7D%7D%29> method generates a <xref:System.Linq.Expressions.MethodCallExpression> that represents calling <xref:System.Linq.Queryable.Sum%28System.Linq.IQueryable%7BSystem.Nullable%7BSystem.Int64%7D%7D%29> itself as a constructed generic method. It then passes the <xref:System.Linq.Expressions.MethodCallExpression> to the <xref:System.Linq.IQueryProvider.Execute%60%601%28System.Linq.Expressions.Expression%29> method of the <xref:System.Linq.IQueryProvider> represented by the <xref:System.Linq.IQueryable.Provider%2A> property of the `source` parameter.
|
6939 | 6869 |
|
6940 | 6870 | The query behavior that occurs as a result of executing an expression tree that represents calling <xref:System.Linq.Queryable.Sum%28System.Linq.IQueryable%7BSystem.Nullable%7BSystem.Int64%7D%7D%29> depends on the implementation of the type of the `source` parameter. The expected behavior is that it returns the sum of the values in `source`.
|
6941 |
| - |
6942 |
| - |
6943 |
| - |
6944 |
| -## Examples |
6945 |
| - The following code example demonstrates how to use <xref:System.Linq.Queryable.Sum%28System.Linq.IQueryable%7BSystem.Nullable%7BSystem.Single%7D%7D%29> to sum the values of a sequence. |
6946 |
| - |
6947 |
| - [!INCLUDE[sqo_diff_overload_example_elementtype](~/includes/sqo-diff-overload-example-elementtype-md.md)] |
6948 |
| - |
6949 |
| - [!code-csharp[System.Linq.Queryable#121](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Linq.Queryable/CS/queryable.cs#121)] |
6950 |
| - [!code-vb[System.Linq.Queryable#121](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb#121)] |
6951 |
| - |
| 6871 | + |
6952 | 6872 | ]]></format>
|
6953 | 6873 | </remarks>
|
6954 | 6874 | <exception cref="T:System.ArgumentNullException">
|
@@ -7005,9 +6925,9 @@ If `count` is not a positive number, this method returns an identical copy of th
|
7005 | 6925 | ## Examples
|
7006 | 6926 | The following code example demonstrates how to use <xref:System.Linq.Queryable.Sum%28System.Linq.IQueryable%7BSystem.Nullable%7BSystem.Single%7D%7D%29> to sum the values of a sequence.
|
7007 | 6927 |
|
7008 |
| - [!code-csharp[System.Linq.Queryable#121](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Linq.Queryable/CS/queryable.cs#121)] |
7009 |
| - [!code-vb[System.Linq.Queryable#121](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb#121)] |
7010 |
| - |
| 6928 | + :::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Linq.Queryable/CS/queryable.cs" interactive="try-dotnet-method" id="Snippet121"::: |
| 6929 | + :::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet121"::: |
| 6930 | + |
7011 | 6931 | ]]></format>
|
7012 | 6932 | </remarks>
|
7013 | 6933 | <exception cref="T:System.ArgumentNullException">
|
@@ -7063,9 +6983,9 @@ If `count` is not a positive number, this method returns an identical copy of th
|
7063 | 6983 | ## Examples
|
7064 | 6984 | The following code example demonstrates how to use <xref:System.Linq.Queryable.Sum%28System.Linq.IQueryable%7BSystem.Single%7D%29> to sum the values of a sequence.
|
7065 | 6985 |
|
7066 |
| - [!code-csharp[System.Linq.Queryable#120](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Linq.Queryable/CS/queryable.cs#120)] |
7067 |
| - [!code-vb[System.Linq.Queryable#120](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb#120)] |
7068 |
| - |
| 6986 | + :::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Linq.Queryable/CS/queryable.cs" interactive="try-dotnet-method" id="Snippet120"::: |
| 6987 | + :::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet120"::: |
| 6988 | + |
7069 | 6989 | ]]></format>
|
7070 | 6990 | </remarks>
|
7071 | 6991 | <exception cref="T:System.ArgumentNullException">
|
@@ -8679,9 +8599,9 @@ If `count` is not a positive number, this method returns an empty queryable sequ
|
8679 | 8599 | ## Examples
|
8680 | 8600 | The following code example demonstrates how to use the <xref:System.Linq.Queryable.Zip%2A> method to merge two sequences.
|
8681 | 8601 |
|
8682 |
| - [!code-csharp[System.Linq.Queryable#200](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Linq.Queryable/CS/queryable.cs#200)] |
8683 |
| - [!code-vb[System.Linq.Queryable#200](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb#200)] |
8684 |
| - |
| 8602 | + :::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Linq.Queryable/CS/queryable.cs" interactive="try-dotnet-method" id="Snippet200"::: |
| 8603 | + :::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet200"::: |
| 8604 | + |
8685 | 8605 | ]]></format>
|
8686 | 8606 | </remarks>
|
8687 | 8607 | <exception cref="T:System.ArgumentNullException">
|
|
0 commit comments