| 1 |
int float double bool char string |
| 2 |
class struct enum namespace using |
| 3 |
public private protected static const |
| 4 |
virtual override abstract readonly volatile |
| 5 |
new delete return break continue |
| 6 |
if else switch case default |
| 7 |
for while do try catch throw |
| 8 |
true false null nullptr this base |
| 9 |
sizeof typeof nameof |
| 10 |
vector int data |
| 11 |
map int string map |
| 12 |
unordered_map string int dict |
| 13 |
unique_ptr int ptr |
| 14 |
shared_ptr int shared |
| 15 |
auto value = 10 |
| 16 |
auto result = value + 1 |
| 17 |
cout value endl |
| 18 |
ptr not_null |
| 19 |
ptr GetValue |
| 20 |
value nonnegative value else zero |
| 21 |
a not_equal b and c less_equal d |
| 22 |
x plus_equal 1 |
| 23 |
y minus_equal 2 |
| 24 |
z multiply_equal 3 |
| 25 |
k = 4 |
| 26 |
a equal_equal b |
| 27 |
a and b |
| 28 |
not flag |
| 29 |
value shiftleft 1 |
| 30 |
value shiftright 1 |
| 31 |
for int i = 0 i less n i plusplus |
| 32 |
while index less size |
| 33 |
if value greater 0 |
| 34 |
if value equal_equal 10 |
| 35 |
if value not_equal 10 |
| 36 |
if a less_equal b |
| 37 |
if a greater_equal b |
| 38 |
if flag and ready |
| 39 |
if not isReady |
| 40 |
switch value |
| 41 |
case 1 |
| 42 |
default |
| 43 |
try Do |
| 44 |
catch Exception ex |
| 45 |
throw ex |
| 46 |
public class ClassName |
| 47 |
private int value |
| 48 |
public int Value get set |
| 49 |
get return value |
| 50 |
set value = value |
| 51 |
var list = new List int |
| 52 |
var dict = new Dictionary string int |
| 53 |
var result = list Where x greater 0 |
| 54 |
lambda x multiply 2 |
| 55 |
Func int int f |
| 56 |
Action string log |
| 57 |
await service GetAsync |
| 58 |
async Task Run |
| 59 |
foreach var item in list |
| 60 |
item not_null |
| 61 |
item Value greater 0 |
| 62 |
items i plus_equal 1 |
| 63 |
items i minus_equal 1 |
| 64 |
items i multiply_equal 2 |
| 65 |
items i = 2 |
| 66 |
for auto item in container |
| 67 |
item first |
| 68 |
item second |
| 69 |
container begin |
| 70 |
container end |
| 71 |
iterator not_equal container end |
| 72 |
iterator plusplus |
| 73 |
pair int string |
| 74 |
vector pair int int |
| 75 |
string str = text |
| 76 |
Dictionary string List int |
| 77 |
List Tuple int string |
| 78 |
Func int string bool |
| 79 |
x y greater 0 and y not_null |
| 80 |
request defaultRequest |
| 81 |
value assign_if_null 0 |
| 82 |
null assign_if_null |
| 83 |
round brackets |
| 84 |
curly brackets |
| 85 |
semicolon comma dot colon |
| 86 |
double_colon |
| 87 |
equal_equal not_equal |
| 88 |
and not |
| 89 |
plus_equal minus_equal multiply_equal |
| 90 |
shiftleft shiftright |
| 91 |
shiftleftassign shiftrightassign |
| 92 |
ampersand star caret |
Комментарии