-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProgram.cs
More file actions
27 lines (26 loc) · 770 Bytes
/
Program.cs
File metadata and controls
27 lines (26 loc) · 770 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
using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Globalization;
namespace Semantica
{
class Program
{
static void Main(string[] args)
{
using (Lenguaje l = args.Length > 0 ? new Lenguaje(args[0]) : new Lenguaje())
// using (Lenguaje l = new Lenguaje(@"/archivos/prueba.cs")) // Llama al método Dispose al finalizar el bloque
{
l.Programa();
}
using (Ejecutable e = args.Length > 0 ? new Ejecutable(args[0]) : new Ejecutable())
{
e.CrearEjecutable();
}
Console.ReadKey();
}
}
}