-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathProgram.cs
More file actions
49 lines (37 loc) · 947 Bytes
/
Copy pathProgram.cs
File metadata and controls
49 lines (37 loc) · 947 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
38
39
40
41
42
43
44
45
46
47
48
49
using System;
using System.IO;
class Program
{
static void Main()
{
AllFunctions();
// code goes after the AllFunctions function and before the StayOn function
StayOn();
}
private static void StayOn() // keeps the program on until you close it manually
{
bool appOpen = true;
while (appOpen == true)
{
Console.ReadLine();
}
}
private static void SaveCode() // saves your code
{
}
private static void Tab() // tab
{
if (Console.ReadKey().Key == ConsoleKey.Tab)
{
Console.Write(" ");
}
}
private static void Lines() // saves all the lines as strings
{
}
private static void AllFunctions() // calls every function to keep the Main function more organized
{
Tab();
Lines();
}
}