diff --git a/includes/csharp-interactive-note-some.md b/includes/csharp-interactive-note-some.md deleted file mode 100644 index e9c4acb8af5..00000000000 --- a/includes/csharp-interactive-note-some.md +++ /dev/null @@ -1,3 +0,0 @@ - -> [!NOTE] -> Some of the C# examples in this article run in the [Try.NET](https://try.dot.net) inline code runner and playground. When present, select the **Run** button to run an example in an interactive window. Once you execute the code, you can modify it and run the modified code by selecting **Run** again. The modified code either runs in the interactive window or, if compilation fails, the interactive window displays all C# compiler error messages. \ No newline at end of file diff --git a/includes/csharp-interactive-note.md b/includes/csharp-interactive-note.md deleted file mode 100644 index b59abf48188..00000000000 --- a/includes/csharp-interactive-note.md +++ /dev/null @@ -1,3 +0,0 @@ - -> [!NOTE] -> The C# examples in this article run in the [Try.NET](https://try.dot.net) inline code runner and playground. Select the **Run** button to run an example in an interactive window. Once you execute the code, you can modify it and run the modified code by selecting **Run** again. The modified code either runs in the interactive window or, if compilation fails, the interactive window displays all C# compiler error messages. diff --git a/xml/System.Collections.Generic/Dictionary`2.xml b/xml/System.Collections.Generic/Dictionary`2.xml index 5e31caa5e44..39cc49f8ddd 100644 --- a/xml/System.Collections.Generic/Dictionary`2.xml +++ b/xml/System.Collections.Generic/Dictionary`2.xml @@ -121,8 +121,6 @@ ## Examples - [!INCLUDE[interactive-note](~/includes/csharp-interactive-note.md)] - The following code example creates an empty of strings with string keys and uses the method to add some elements. The example demonstrates that the method throws an when attempting to add a duplicate key. The example uses the property (the indexer in C#) to retrieve values, demonstrating that a is thrown when a requested key is not present, and showing that the value associated with a key can be replaced. @@ -207,8 +205,6 @@ ## Examples - [!INCLUDE[interactive-note](~/includes/csharp-interactive-note-some.md)] - The following code example creates an empty of strings with string keys and uses the method to add some elements. The example demonstrates that the method throws an when attempting to add a duplicate key. This code example is part of a larger example provided for the class. @@ -720,8 +716,6 @@ ## Examples - [!INCLUDE[interactive-note](~/includes/csharp-interactive-note.md)] - The following code example creates an empty of strings with string keys and uses the method to add some elements. The example demonstrates that the method throws an when attempting to add a duplicate key. This code example is part of a larger example provided for the class. @@ -1232,8 +1226,6 @@ ## Examples - [!INCLUDE[interactive-note](~/includes/csharp-interactive-note-some.md)] - The following code example uses the property (the indexer in C#) to retrieve values, demonstrating that a is thrown when a requested key is not present, and showing that the value associated with a key can be replaced. The example also shows how to use the method as a more efficient way to retrieve values if a program often must try key values that are not in the dictionary. diff --git a/xml/System.Collections.Generic/List`1.xml b/xml/System.Collections.Generic/List`1.xml index 9c35861111a..50bac775f18 100644 --- a/xml/System.Collections.Generic/List`1.xml +++ b/xml/System.Collections.Generic/List`1.xml @@ -110,8 +110,6 @@ ## Examples - [!INCLUDE[interactive-note](~/includes/csharp-interactive-note-some.md)] - The following example demonstrates how to add, remove, and insert a simple business object in a . [!code-csharp[System.Collections.Generic.List.AddRemoveInsert#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.collections.generic.list.addremoveinsert/cs/program.cs#1)] @@ -207,8 +205,6 @@ ## Examples - [!INCLUDE[interactive-note](~/includes/csharp-interactive-note-some.md)] - The following example demonstrates the parameterless constructor of the generic class. The parameterless constructor creates a list with the default capacity, as demonstrated by displaying the property. The example adds, inserts, and removes items, showing how the capacity changes as these methods are used. @@ -399,8 +395,6 @@ ## Examples - [!INCLUDE[interactive-note](~/includes/csharp-interactive-note-some.md)] - The following example demonstrates how to add, remove, and insert a simple business object in a . [!code-csharp[System.Collections.Generic.List.AddRemoveInsert#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.collections.generic.list.addremoveinsert/cs/program.cs#1)] @@ -863,8 +857,6 @@ ## Examples - [!INCLUDE[interactive-note](~/includes/csharp-interactive-note-some.md)] - The following example demonstrates how to check the capacity and count of a that contains a simple business object, and illustrates using the method to remove extra capacity. [!code-csharp[System.Collections.Generic.List.CapacityCount#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.collections.generic.list.capacitycount/cs/program.cs#1)] @@ -938,8 +930,6 @@ ## Examples - [!INCLUDE[interactive-note](~/includes/csharp-interactive-note.md)] - The following example demonstrates the method and various other properties and methods of the generic class. The method is used at the end of the program, to remove all items from the list, and the and properties are then displayed. [!code-cpp[List\`1_Class#1](~/samples/snippets/cpp/VS_Snippets_CLR/List`1_Class/cpp/source.cpp#1)] @@ -1369,8 +1359,6 @@ ## Examples - [!INCLUDE[interactive-note](~/includes/csharp-interactive-note-some.md)] - The following example demonstrates how to check the capacity and count of a that contains a simple business object, and illustrates using the method to remove extra capacity. [!code-csharp[System.Collections.Generic.List.CapacityCount#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.collections.generic.list.capacitycount/cs/program.cs#1)] @@ -2761,8 +2749,6 @@ Public Function StartsWith(e As Employee) As Boolean ## Examples - [!INCLUDE[interactive-note](~/includes/csharp-interactive-note-some.md)] - The following example demonstrates how to add, remove, and insert a simple business object in a . [!code-csharp[System.Collections.Generic.List.AddRemoveInsert#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.collections.generic.list.addremoveinsert/cs/program.cs#1)] @@ -3226,8 +3212,6 @@ Public Function StartsWith(e As Employee) As Boolean ## Examples - [!INCLUDE[interactive-note](~/includes/csharp-interactive-note-some.md)] - The following example demonstrates how to add, remove, and insert a simple business object in a . [!code-csharp[System.Collections.Generic.List.AddRemoveInsert#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.collections.generic.list.addremoveinsert/cs/program.cs#1)] @@ -3666,8 +3650,6 @@ Public Function StartsWith(e As Employee) As Boolean ## Examples - [!INCLUDE[interactive-note](~/includes/csharp-interactive-note-some.md)] - The following example adds some names to a `List` object, displays the list in unsorted order, calls the method, and then displays the sorted list. [!code-csharp-interactive[System.Collections.Generic.List.Sort#2](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.collections.generic.list.sort/cs/Sort1.cs#2)] @@ -4902,8 +4884,6 @@ finally ## Examples - [!INCLUDE[interactive-note](~/includes/csharp-interactive-note-some.md)] - The following example demonstrates how to check the capacity and count of a that contains a simple business object, and illustrates using the method to remove extra capacity. [!code-csharp[System.Collections.Generic.List.CapacityCount#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.collections.generic.list.capacitycount/cs/program.cs#1)] diff --git a/xml/System.Linq/Enumerable.xml b/xml/System.Linq/Enumerable.xml index fedff41c3da..15c9360460a 100644 --- a/xml/System.Linq/Enumerable.xml +++ b/xml/System.Linq/Enumerable.xml @@ -2904,8 +2904,6 @@ The set difference of two sets is defined as the members of the first set that d This method returns those elements in `first` that don't appear in `second`. It doesn't return those elements in `second` that don't appear in `first`. Only unique elements are returned. -[!INCLUDE[interactive-note](~/includes/csharp-interactive-note-some.md)] - ]]> Enumerable.Intersect Method @@ -4122,13 +4120,7 @@ Only unique elements are returned. Produces the set intersection of two sequences. - - - + To be added. Enumerable.Except Method @@ -8543,15 +8535,7 @@ Only unique elements are returned. Projects each element of a sequence into a new form. - - - + To be added. @@ -12468,13 +12452,7 @@ If `count` is not a positive number, this method returns an empty enumerable col Produces the set union of two sequences. - - - + To be added. diff --git a/xml/System/Action`1.xml b/xml/System/Action`1.xml index ed041ca9ebd..f8987eb5a84 100644 --- a/xml/System/Action`1.xml +++ b/xml/System/Action`1.xml @@ -83,8 +83,6 @@ ## Examples The following example demonstrates the use of the delegate to print the contents of a object. In this example, the `Print` method is used to display the contents of the list to the console. In addition, the C# example also demonstrates the use of anonymous methods to display the contents to the console. Note that the example does not explicitly declare an variable. Instead, it passes a reference to a method that takes a single parameter and that does not return a value to the method, whose single parameter is an delegate. Similarly, in the C# example, an delegate is not explicitly instantiated because the signature of the anonymous method matches the signature of the delegate that is expected by the method. - [!INCLUDE[interactive-note](~/includes/csharp-interactive-note-some.md)] - [!code-csharp-interactive[System.Action_PrintExample#01](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Action_PrintExample/cs/action.cs#01)] [!code-vb[System.Action_PrintExample#01](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Action_PrintExample/vb/action.vb#01)] diff --git a/xml/System/Array.xml b/xml/System/Array.xml index d231b722dff..ffa6a1ec93a 100644 --- a/xml/System/Array.xml +++ b/xml/System/Array.xml @@ -94,8 +94,6 @@ ## Examples - [!INCLUDE[interactive-note](~/includes/csharp-interactive-note-some.md)] - The following code example shows how copies elements between an array of type integer and an array of type . [!code-cpp[Classic Array Example#1](~/samples/snippets/cpp/VS_Snippets_CLR_Classic/classic Array Example/CPP/source.cpp#1)] @@ -4754,15 +4752,7 @@ Searches for the specified object and returns the index of its first occurrence in a one-dimensional array or in a range of elements in the array. - - - + To be added. @@ -5514,15 +5504,7 @@ Returns the index of the last occurrence of a value in a one-dimensional or in a portion of the . - - - + To be added. diff --git a/xml/System/Console.xml b/xml/System/Console.xml index 600a8f87243..78a7ad009b2 100644 --- a/xml/System/Console.xml +++ b/xml/System/Console.xml @@ -4801,8 +4801,6 @@ ## Remarks The default line terminator is a string whose value is a carriage return followed by a line feed ("\r\n" in C#, or `vbCrLf` in Visual Basic). You can change the line terminator by setting the property of the property to another string. - [!INCLUDE[interactive-note](~/includes/csharp-interactive-note-some.md)] - ]]> diff --git a/xml/System/DateTime.xml b/xml/System/DateTime.xml index cf09c9f6585..2e1a9e28f3c 100644 --- a/xml/System/DateTime.xml +++ b/xml/System/DateTime.xml @@ -504,8 +504,6 @@ The behavior of the .NET Framework and COM means that if your application round- ## Remarks - [!INCLUDE[interactive-note](~/includes/csharp-interactive-note-some.md)] - ]]> @@ -2087,8 +2085,6 @@ The behavior of the .NET Framework and COM means that if your application round- ## Examples - [!INCLUDE[interactive-note](~/includes/csharp-interactive-note.md)] - The following example demonstrates the method. [!code-csharp-interactive[System.DateTime.Compare#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.datetime.compare/cs/compare1.cs#1)] @@ -6934,8 +6930,6 @@ The following example demonstrates the property to display the number of ticks that have elapsed since the beginning of the twenty-first century and to instantiate a object. The object is then used to display the elapsed time using several other time intervals. [!code-csharp-interactive[System.DateTime.Ticks#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.DateTime.Ticks/cs/Ticks.cs#1)] diff --git a/xml/System/Func`2.xml b/xml/System/Func`2.xml index 702012392ee..4a834a1992e 100644 --- a/xml/System/Func`2.xml +++ b/xml/System/Func`2.xml @@ -99,8 +99,6 @@ ## Examples The following example demonstrates how to declare and use a delegate. This example declares a variable and assigns it a lambda expression that converts the characters in a string to uppercase. The delegate that encapsulates this method is subsequently passed to the method to change the strings in an array of strings to uppercase. - [!INCLUDE[interactive-note](~/includes/csharp-interactive-note-some.md)] - [!code-csharp-interactive[System.Func~2#5](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Func~2/cs/Example.cs#5)] [!code-vb[System.Func~2#5](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~2/vb/Example.vb#5)] diff --git a/xml/System/Math.xml b/xml/System/Math.xml index 281ffbd99c2..06833849923 100644 --- a/xml/System/Math.xml +++ b/xml/System/Math.xml @@ -1124,10 +1124,6 @@ ## Remarks The behavior of this method follows IEEE Standard 754, section 4. This kind of rounding is sometimes called rounding toward positive infinity. -## Examples - -[!INCLUDE[midpoint-rounding](~/includes/csharp-interactive-note.md)] - ]]> @@ -2258,10 +2254,6 @@ Dim i2 As Integer = CInt(Math.Ceiling(d2)) ' Result: 7969 ## Remarks The behavior of this method follows IEEE Standard 754, section 4. This kind of rounding is sometimes called rounding toward negative infinity. -## Examples - -[!INCLUDE[midpoint-rounding](~/includes/csharp-interactive-note.md)] - ]]> @@ -4705,8 +4697,6 @@ In addition to the examples in the [Remarks](#remarks-round) section, this artic [Math.Round(Decimal, Int32, MidpointRounding)](#Round7_Example) [Math.Round(Double, Int32, MidpointRounding)](#Round8_Example) -[!INCLUDE[midpoint-rounding](~/includes/csharp-interactive-note.md)] - ]]> diff --git a/xml/System/Object.xml b/xml/System/Object.xml index b08a14baa35..7f7c3afcf55 100644 --- a/xml/System/Object.xml +++ b/xml/System/Object.xml @@ -138,15 +138,7 @@ Determines whether two object instances are equal. - - - + To be added. @@ -778,8 +770,6 @@ and the interface. The method with the method to determine whether one numeric value is the same type as two other numeric values. - [!INCLUDE[interactive-note](~/includes/csharp-interactive-note-some.md)] - [!code-csharp-interactive[System.Object.GetType#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.object.gettype/cs/gettype1.cs#1)] [!code-vb[System.Object.GetType#1](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.object.gettype/vb/gettype1.vb#1)] @@ -959,8 +949,6 @@ and the interface. The to determine if two objects are the same instance. [!code-cpp[ECMA-System.Object.ReferenceEquals#1](~/samples/snippets/cpp/VS_Snippets_CLR/ECMA-System.Object.ReferenceEquals/CPP/referenceequals.cpp#1)] @@ -1032,8 +1020,6 @@ and the interface. The method returns the fully qualified name of the type of the , as the following example shows. - [!INCLUDE[interactive-note](~/includes/csharp-interactive-note-some.md)] - [!code-cpp[System.Object.ToString#1](~/samples/snippets/cpp/VS_Snippets_CLR_System/system.object.tostring/cpp/tostring1.cpp#1)] [!code-csharp-interactive[System.Object.ToString#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.object.tostring/cs/tostring1.cs#1)] [!code-vb[System.Object.ToString#1](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.object.tostring/vb/tostring1.vb#1)] @@ -1084,8 +1070,6 @@ and the interface. The method, you may find its behavior undesirable and want to change it. This is particularly true of arrays and collection classes. While you may expect the `ToString` method of an array or collection class to display the values of its members, it instead displays the type fully qualified type name, as the following example shows. - [!INCLUDE[interactive-note](~/includes/csharp-interactive-note-some.md)] - [!code-csharp-interactive[System.Object.ToString#6](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.object.tostring/cs/array1.cs#6)] [!code-vb[System.Object.ToString#6](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.object.tostring/vb/array1.vb#6)] diff --git a/xml/System/String.xml b/xml/System/String.xml index 5a1f198e0d5..ecd5839894b 100644 --- a/xml/System/String.xml +++ b/xml/System/String.xml @@ -70,8 +70,6 @@ A string is a sequential collection of characters that is used to represent text. A object is a sequential collection of objects that represent a string; a object corresponds to a UTF-16 code unit. The value of the object is the content of the sequential collection of objects, and that value is immutable (that is, it is read-only). For more information about the immutability of strings, see the [Immutability and the StringBuilder class](#Immutability) section later in this topic. The maximum size of a object in memory is 2GB, or about 1 billion characters. -[!INCLUDE[interactive-note](~/includes/csharp-interactive-note-some.md)] - In this section: [Instantiate a String object](#Instantiation)\ @@ -5469,8 +5467,6 @@ In contrast, the use of interpolated strings in the following example produce mu Numerous examples that call the method are interspersed through the [Remarks](#remarks-top) section of this article. -[!INCLUDE[interactive-note](~/includes/csharp-interactive-note-some.md)] - You can also download a complete set of `String.Format` examples, which are included a [.NET Core 2.0 project for C#](https://github.com/dotnet/samples/raw/master/snippets/csharp/downloads/api/System/String.Format.zip) and a [.NET Core 2.0 project for Visual Basic](https://github.com/dotnet/samples/raw/master/snippets/visualbasic/downloads/api/System/String.Format.zip), from the [dotnet/samples GitHub repository](https://github.com/dotnet/samples). The following are some of the examples included in the article: @@ -10941,8 +10937,6 @@ Because this method returns the modified string, you can chain together successi ## Remarks is used to break a delimited string into substrings. You can use either a character array to specify zero, one, or multiple delimiting characters (the method), or you can use a character array to specify zero, one, or multiple delimiting strings. Overloads of the method allow you to limit the number of substrings returned by the method (the method), to determine whether empty strings are included in the returned substrings (the and methods, or to do both (the and methods). -[!INCLUDE[interactive-note](~/includes/csharp-interactive-note.md)] - ### Alternatives to String.Split The method is not always the best way to break a delimited string into substrings. If you don't want to extract all of the substrings of a delimited string, or if you want to parse a string based on a pattern instead of a set of delimiter characters, consider the following alternatives. diff --git a/xml/System/TimeSpan.xml b/xml/System/TimeSpan.xml index 2f2821d2058..b45b9fbfbb7 100644 --- a/xml/System/TimeSpan.xml +++ b/xml/System/TimeSpan.xml @@ -137,8 +137,6 @@ ## Examples The following example instantiates a object that represents the difference between two dates. It then displays the object's properties. - [!INCLUDE[interactive-note](~/includes/csharp-interactive-note-some.md)] - [!code-csharp-interactive[System.TimeSpan.Class#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.timespan.class/cs/structure1.cs#1)] [!code-vb[System.TimeSpan.Class#1](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.class/vb/structure1.vb#1)] [!code-powershell[System.TimeSpan.Class#1](~/samples/snippets/powershell/VS_Snippets_CLR_System/system.timespan.class/ps/structure1.ps1)] @@ -466,8 +464,6 @@ ## Examples The following example calls the method to add each element in an array of time intervals to a base value. -[!INCLUDE[interactive-note](~/includes/csharp-interactive-note.md)] - [!code-csharp-interactive[System.TimeSpan.Add#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.timespan.add/cs/add1.cs#1)] [!code-vb[System.TimeSpan.Add#1](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.add/vb/add1.vb#1)] @@ -543,8 +539,6 @@ ## Examples The following example uses the method to compare several objects with a object whose value is a 2-hour time interval. - [!INCLUDE[interactive-note](~/includes/csharp-interactive-note.md)] - [!code-csharp-interactive[System.TimeSpan.Compare#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.timespan.compare/cs/compare1.cs#1)] [!code-vb[System.TimeSpan.Compare#1](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.compare/vb/compare1.vb#1)] @@ -2084,8 +2078,6 @@ ## Remarks The method defines the addition operator for values. It enables code such as the following: - [!INCLUDE[interactive-note](~/includes/csharp-interactive-note.md)] - [!code-csharp-interactive[System.TimeSpan.Operators#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.timespan.operators/cs/operators1.cs#1)] [!code-vb[System.TimeSpan.Operators#1](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.operators/vb/operators1.vb#1)] @@ -2676,8 +2668,6 @@ ## Examples The following example uses the subtraction operator to calculate the total length of the weekly work day. It also uses the addition operator to compute the total time of the daily breaks before using it in a subtraction operation to compute the total actual daily working time. - [!INCLUDE[interactive-note](~/includes/csharp-interactive-note.md)] - [!code-csharp-interactive[System.TimeSpan.Operators#2](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.timespan.operators/cs/Subtraction1.cs#2)] [!code-vb[System.TimeSpan.Operators#2](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.operators/vb/Subtraction1.vb#2)] @@ -2806,15 +2796,7 @@ Converts the string representation of a time interval to its equivalent. - - - + To be added. @@ -3625,8 +3607,6 @@ When a time interval component in the string to be parsed contains more than sev ## Examples The following example uses the method to calculate the difference between a single value and each of the time intervals in an array. Note that, because format strings do not include negative signs in the result string, the example uses conditional logic to include a negative sign with negative time intervals. - [!INCLUDE[interactive-note](~/includes/csharp-interactive-note.md)] - [!code-csharp-interactive[System.TimeSpan.Subtract#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.timespan.subtract/cs/subtract1.cs#1)] ]]> @@ -4057,15 +4037,7 @@ This member is an explicit interface member implementation. It can be used only Converts the value of the current object to its equivalent string representation. - - - + To be added. @@ -4347,8 +4319,6 @@ This member is an explicit interface member implementation. It can be used only ## Examples The following example instantiates a object and displays the value of its property. It also displays the value of each component (hours, minutes, seconds, milliseconds) that forms the fractional part of the value of its property. - [!INCLUDE[interactive-note](~/includes/csharp-interactive-note.md)] - [!code-csharp-interactive[System.TimeSpan.TotalDays#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.timespan.totaldays/cs/totaldays.cs#1)] [!code-vb[System.TimeSpan.TotalDays#1](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.totaldays/vb/totaldays.vb#1)] @@ -4410,8 +4380,6 @@ This member is an explicit interface member implementation. It can be used only ## Examples The following example instantiates a object and displays the value its property. It also displays the value of each component (hours, minutes, seconds, and milliseconds) that forms the fractional part of the value of its property. - [!INCLUDE[interactive-note](~/includes/csharp-interactive-note.md)] - [!code-csharp-interactive[System.TimeSpan.TotalHours#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.timespan.totalhours/cs/totalhours.cs#1)] [!code-vb[System.TimeSpan.TotalHours#1](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.totalhours/vb/totalhours.vb#1)] @@ -4473,8 +4441,6 @@ This member is an explicit interface member implementation. It can be used only ## Examples The following example instantiates a object and displays the value of its property. - [!INCLUDE[interactive-note](~/includes/csharp-interactive-note.md)] - [!code-csharp-interactive[System.TimeSpan.TotalMilliseconds#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.timespan.totalmilliseconds/cs/totalmilliseconds.cs#1)] [!code-vb[System.TimeSpan.TotalMilliseconds#1](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.totalmilliseconds/vb/totalmilliseconds.vb#1)] @@ -4536,8 +4502,6 @@ This member is an explicit interface member implementation. It can be used only ## Examples The following example instantiates a object and displays the value of its property. It also displays the value of each component (seconds, milliseconds) that forms the fractional part of the value of its property. - [!INCLUDE[interactive-note](~/includes/csharp-interactive-note.md)] - [!code-csharp-interactive[System.TimeSpan.TotalMinutes#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.timespan.totalminutes/cs/totalminutes.cs#1)] [!code-vb[System.TimeSpan.TotalMinutes#1](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.totalminutes/vb/totalminutes.vb#1)] @@ -4604,8 +4568,6 @@ This member is an explicit interface member implementation. It can be used only ## Examples The following example instantiates a object and displays the value of its property. It also displays the value of its milliseconds component, which forms the fractional part of the value of its property. - [!INCLUDE[interactive-note](~/includes/csharp-interactive-note.md)] - [!code-csharp-interactive[System.TimeSpan.TotalSeconds#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.timespan.totalseconds/cs/totalseconds.cs#1)] [!code-vb[System.TimeSpan.TotalSeconds#1](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.totalseconds/vb/totalseconds.vb#1)] @@ -4668,15 +4630,7 @@ This member is an explicit interface member implementation. It can be used only Converts the specified string representation of a time interval to its equivalent and returns a value that indicates whether the conversion succeeded. - - - + To be added. diff --git a/xml/System/Type.xml b/xml/System/Type.xml index 3899c66d973..6082abe9739 100644 --- a/xml/System/Type.xml +++ b/xml/System/Type.xml @@ -154,8 +154,6 @@ > [!NOTE] > To be precise, the array contains two references to the instance of that represents `int` in the current application domain. For any type, there is only one instance of per application domain. - [!INCLUDE[interactive-note](~/includes/csharp-interactive-note-some.md)] - The code example uses the to invoke the method on the string "Hello, World!", and displays the result. [!code-cpp[System.Type#1](~/samples/snippets/cpp/VS_Snippets_CLR_System/system.Type/cpp/source.cpp#1)] diff --git a/xml/System/UInt32.xml b/xml/System/UInt32.xml index e3a41444caf..f99bba42ac7 100644 --- a/xml/System/UInt32.xml +++ b/xml/System/UInt32.xml @@ -2372,15 +2372,7 @@ This member is an explicit interface member implementation. It can be used only Tries to convert the string representation of a number to its 32-bit unsigned integer equivalent. A return value indicates whether the conversion succeeded or failed. - - - + To be added.