diff --git a/src/UserGuide/Master/API/Programming-CSharp-Native-API.md b/src/UserGuide/Master/API/Programming-CSharp-Native-API.md index c18db2a9..9c7463a6 100644 --- a/src/UserGuide/Master/API/Programming-CSharp-Native-API.md +++ b/src/UserGuide/Master/API/Programming-CSharp-Native-API.md @@ -93,7 +93,7 @@ await session_pool.InsertRecordAsync("root.test_group.test_device", rowRecord); // Insert Tablet var timestamp_lst = new List{ timestamp + 1 }; -var value_lst = new List {new() {"iotdb", true, (int) 12}}; +var value_lst = new List {"iotdb", true, (int) 12}; var tablet = new Tablet("root.test_group.test_device", measures, value_lst, timestamp_ls); await session_pool.InsertTabletAsync(tablet); diff --git a/src/UserGuide/V1.2.x/API/Programming-CSharp-Native-API.md b/src/UserGuide/V1.2.x/API/Programming-CSharp-Native-API.md index c18db2a9..9c7463a6 100644 --- a/src/UserGuide/V1.2.x/API/Programming-CSharp-Native-API.md +++ b/src/UserGuide/V1.2.x/API/Programming-CSharp-Native-API.md @@ -93,7 +93,7 @@ await session_pool.InsertRecordAsync("root.test_group.test_device", rowRecord); // Insert Tablet var timestamp_lst = new List{ timestamp + 1 }; -var value_lst = new List {new() {"iotdb", true, (int) 12}}; +var value_lst = new List {"iotdb", true, (int) 12}; var tablet = new Tablet("root.test_group.test_device", measures, value_lst, timestamp_ls); await session_pool.InsertTabletAsync(tablet); diff --git a/src/zh/UserGuide/Master/API/Programming-CSharp-Native-API.md b/src/zh/UserGuide/Master/API/Programming-CSharp-Native-API.md index ab1ebeb0..b72300ff 100644 --- a/src/zh/UserGuide/Master/API/Programming-CSharp-Native-API.md +++ b/src/zh/UserGuide/Master/API/Programming-CSharp-Native-API.md @@ -80,7 +80,7 @@ await session_pool.InsertRecordAsync("root.test_group.test_device", rowRecord); // 插入Tablet var timestamp_lst = new List{ timestamp + 1 }; -var value_lst = new List {new() {"iotdb", true, (int) 12}}; +var value_lst = new List {"iotdb", true, (int) 12}; var tablet = new Tablet("root.test_group.test_device", measures, value_lst, timestamp_ls); await session_pool.InsertTabletAsync(tablet); diff --git a/src/zh/UserGuide/V1.2.x/API/Programming-CSharp-Native-API.md b/src/zh/UserGuide/V1.2.x/API/Programming-CSharp-Native-API.md index ab1ebeb0..b72300ff 100644 --- a/src/zh/UserGuide/V1.2.x/API/Programming-CSharp-Native-API.md +++ b/src/zh/UserGuide/V1.2.x/API/Programming-CSharp-Native-API.md @@ -80,7 +80,7 @@ await session_pool.InsertRecordAsync("root.test_group.test_device", rowRecord); // 插入Tablet var timestamp_lst = new List{ timestamp + 1 }; -var value_lst = new List {new() {"iotdb", true, (int) 12}}; +var value_lst = new List {"iotdb", true, (int) 12}; var tablet = new Tablet("root.test_group.test_device", measures, value_lst, timestamp_ls); await session_pool.InsertTabletAsync(tablet);