TestApp1.cs
1 |
using System; |
---|---|
2 |
|
3 |
namespace TestApp1 |
4 |
{ |
5 |
class Program |
6 |
{ |
7 |
static void Main(string[] args) |
8 |
{ |
9 |
P2JLogical l1 = P2JLogical.Parse("true"); |
10 |
Console.WriteLine("Parsing 'true' = " + l1); |
11 |
P2JLogical l2 = l1.P2J_And(P2JLogical.Parse("falsE ")); |
12 |
Console.WriteLine("'true' And 'falsE ' = " + l2); |
13 |
|
14 |
P2JInt64 i1 = P2JInt64.Parse("101 "); |
15 |
Console.WriteLine("Parsing '101 ' = " + i1); |
16 |
P2JInt64 i2 = i1.P2J_Add(P2JInt64.Parse(" 20")); |
17 |
Console.WriteLine("'101 ' Add ' 20' = " + i2); |
18 |
Console.WriteLine("'101 ' Add -19 = " + i1.P2J_Add(-19L)); |
19 |
} |
20 |
} |
21 |
} |
22 |
|