Skip to content

Commit 8ebc46f

Browse files
authored
port changes (#569)
1 parent ad9162b commit 8ebc46f

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

snippets/csharp/VS_Snippets_VBCSharp/csrefOperators/CS/csrefOperators.cs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
using System.Text;
66
using System.Diagnostics;
77

8-
9-
108
namespace ConsoleApplication1
119
{
1210

@@ -100,7 +98,6 @@ static void Main()
10098
Output:
10199
-1
102100
*/
103-
104101
//</snippet6>
105102

106103
// !
@@ -163,7 +160,6 @@ static void Main()
163160
0.6
164161
-1.2
165162
*/
166-
167163
//</snippet9>
168164

169165
// |=
@@ -185,7 +181,6 @@ static void Main()
185181
0x0000000e
186182
True
187183
*/
188-
189184
//</snippet10>
190185

191186
//<snippet11>
@@ -327,7 +322,6 @@ void M()
327322
System.Console.WriteLine("hello");
328323
//</snippet20>
329324
}
330-
331325
}
332326

333327
//<snippet21>
@@ -552,7 +546,6 @@ static void Main()
552546
Bitwise result: 1010
553547
Bitwise result: 11000111
554548
*/
555-
556549
//</snippet30>
557550

558551

@@ -1096,7 +1089,7 @@ static void Main()
10961089
int? x = null;
10971090

10981091
// Set y to the value of x if x is NOT null; otherwise,
1099-
// if x = null, set y to -1.
1092+
// if x == null, set y to -1.
11001093
int y = x ?? -1;
11011094

11021095
// Assign i to return value of the method if the method's result

0 commit comments

Comments
 (0)