-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTest_double.cs
More file actions
37 lines (32 loc) · 774 Bytes
/
Test_double.cs
File metadata and controls
37 lines (32 loc) · 774 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace chapter7._5
{
class Test_double
{
public void Test()
{
Vector<double> vd = new Vector<double>();
vd.push_back(1.1);
vd.push_back(2.2);
vd.push_back(3.3);
vd.push_back(4.4);
vd.push_back(5.5);
vd.push_back(6.6);
vd.push_back(10);
vd.ToString();
vd.pop_back();
vd.pop_back();
vd.pop_back();
vd.ToString();
vd.removeAt(1);
//vd.removeAt(100);
vd.ToString();
vd.clear();
vd.ToString();
}
}
}