-
Notifications
You must be signed in to change notification settings - Fork 0
/
Demo.cs
147 lines (83 loc) · 2.56 KB
/
Demo.cs
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
namespace ns1
{
class WebPage
{
public virtual void foo()
{
string s = "100002";
string s2 = "999999";
}
}
class MyWebPage : WebPage
{
public override void foo()
{
}
}
class MyClass
{
void foo(string s)
{
WebPage p1 = new WebPage();
MyWebPage p2 = new MyWebPage();
p1.foo();
p2.foo();
a=3;b=4;c=5;
if (s > "xyz")
{
foo("hello");
}
if (s <= "xyz")
{
print("good");
print("bye");
}
if (x==y)
print("z");
}
void boo()
{
if ( a = 3)
{
}
if (3 == a)
{
}
if (a == a)
{
}
if (3 == 3)
{
}
int a = "zz - hello world";
foo(a);
x = 3;
y = x + 1;
z = y + 2;
}
void abc(string inp)
{
string s = prms.getParameterValues("Sharp");
string s2 = fix(s);
execute(s);
execute(s2);
s = s2;
execute(s);
execute(s2);
}
}
}
// string s = input(); // Todo
// string s2 = fix(s);
// string s3 = s + s2;
// execute(s);
// execute (s2);
// execute (s3);
// s = s2;
// execute(s);
// execute (s2);
// execute (s3);
// s3 = s2;
// execute(s);
// execute (s2);
// execute (s3);