-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProgram.cs
More file actions
67 lines (64 loc) · 2.15 KB
/
Program.cs
File metadata and controls
67 lines (64 loc) · 2.15 KB
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
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using static ThemesOutputer.ThemeHelper;
using static ThemesOutputer.TPathHelper;
using static ThemesOutputer.TextMakerTheme;
using static ThemesOutputer.PrefabsClass;
namespace ThemesOutputer
{
class Program
{
static void Main(string[] args)
{
// Create new stopwatch.
Stopwatch stopwatch = new Stopwatch();
int yeeter;
//string prefabLast = "} ]}} ]} ]";
// Begin timing.
do {
stopwatch.Start();
bool checker = false;
do {
try
{
Console.WriteLine("Prefabs or Themes? 1-Prefabs, anything else - themes");
string stfu1 = Console.ReadLine();
if (stfu1 == "1")
{
Console.WriteLine("Prefabs Code hhhhh");
Preeeefabs(PathP(), TPathP());
}
else
{
TextThemes(Path(), TPath());
}
checker = true;//No errors = freedom
}
catch (Exception Ex)
{
//If you will screw something you go there.
Console.WriteLine(Ex.ToString());
}
} while (checker == false);
// Stop timing.
stopwatch.Stop();//Timer because I wanted to say C# is 100000000x faster then Java.
// Write result.
Console.WriteLine("Time elapsed: {0}", stopwatch.Elapsed);
Console.WriteLine("Do you want to repeat process?\n 1-yes, anything else-no"); //Choice = red pill or blue pill.
string stfu = Console.ReadLine();
if (stfu == "1")
{
yeeter = 1;
}
else
{
yeeter = 0;
}
} while (yeeter == 1);//yeet
}
}
}