a >>= 1 аналогично a = a >> 1
Main.cs
using
System;
class
Program {
-
public
static
int
Main() {
-
int
a = 4;
-
a>>=1;
-
Console.WriteLine(a);
-
Console.ReadKey();
-
return
0;
-
}
}
using
System;
class
Program {
-
public
static
int
Main() {
-
int
a = 4;
-
a>>=1;
-
Console.WriteLine(a);
-
Console.ReadKey();
-
return
0;
-
}
}
2