diff --git a/Archivos/Archivos.sln b/Archivos/Archivos.sln new file mode 100644 index 0000000..124e763 --- /dev/null +++ b/Archivos/Archivos.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2013 +VisualStudioVersion = 12.0.21005.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Archivos", "Archivos\Archivos.csproj", "{338B416A-79B5-4518-9506-2D787C24D4FE}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {338B416A-79B5-4518-9506-2D787C24D4FE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {338B416A-79B5-4518-9506-2D787C24D4FE}.Debug|Any CPU.Build.0 = Debug|Any CPU + {338B416A-79B5-4518-9506-2D787C24D4FE}.Release|Any CPU.ActiveCfg = Release|Any CPU + {338B416A-79B5-4518-9506-2D787C24D4FE}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Archivos/Archivos.v12.suo b/Archivos/Archivos.v12.suo new file mode 100644 index 0000000..a1f4f31 Binary files /dev/null and b/Archivos/Archivos.v12.suo differ diff --git a/Archivos/Archivos/App.config b/Archivos/Archivos/App.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/Archivos/Archivos/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Archivos/Archivos/Archivos.csproj b/Archivos/Archivos/Archivos.csproj new file mode 100644 index 0000000..98b2817 --- /dev/null +++ b/Archivos/Archivos/Archivos.csproj @@ -0,0 +1,58 @@ + + + + + Debug + AnyCPU + {338B416A-79B5-4518-9506-2D787C24D4FE} + Exe + Properties + Archivos + Archivos + v4.5 + 512 + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Archivos/Archivos/Program.cs b/Archivos/Archivos/Program.cs new file mode 100644 index 0000000..fff7531 --- /dev/null +++ b/Archivos/Archivos/Program.cs @@ -0,0 +1,49 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Archivos +{ + class Program + { + static void Main(string[] args) + { + TextWriter archivo; + archivo = new StreamWriter("archivo.txt"); + + Console.WriteLine("\n Ingrese texto a grabar en un archivo:"); + + string mensaje = Console.ReadLine(); + archivo.WriteLine(mensaje); + + archivo.Close(); + Console.WriteLine("\n El archivo se ha grabado exitosamente"); + + Console.ReadKey(); + + TextReader lector; + lector = new StreamReader("archivo.txt"); + + Console.WriteLine("\n Contenido del archivo:"); + Console.WriteLine(lector.ReadToEnd()); + + lector.Close(); + Console.WriteLine("\n El archivo se ha cerrado exitosamente"); + + StreamWriter escritor = File.AppendText("archivo.txt"); + + Console.WriteLine("\n Escriba texto a agregar al archivo:"); + + string nuevoTexto = Console.ReadLine(); + escritor.WriteLine(nuevoTexto); + + escritor.Close(); + Console.WriteLine("\n Se ha agregado texto al archivo exitosamente"); + + Console.ReadKey(); + } + } +} diff --git a/Archivos/Archivos/Properties/AssemblyInfo.cs b/Archivos/Archivos/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..b291f87 --- /dev/null +++ b/Archivos/Archivos/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// La información general sobre un ensamblado se controla mediante el siguiente +// conjunto de atributos. Cambie estos atributos para modificar la información +// asociada con un ensamblado. +[assembly: AssemblyTitle("Archivos")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Archivos")] +[assembly: AssemblyCopyright("Copyright © 2017")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Si establece ComVisible como false, los tipos de este ensamblado no estarán visibles +// para los componentes COM. Si necesita obtener acceso a un tipo de este ensamblado desde +// COM, establezca el atributo ComVisible como true en este tipo. +[assembly: ComVisible(false)] + +// El siguiente GUID sirve como identificador de typelib si este proyecto se expone a COM +[assembly: Guid("47085a1b-a799-4a11-92c8-655a42a59508")] + +// La información de versión de un ensamblado consta de los cuatro valores siguientes: +// +// Versión principal +// Versión secundaria +// Número de compilación +// Revisión +// +// Puede especificar todos los valores o establecer como predeterminados los números de compilación y de revisión +// mediante el carácter '*', como se muestra a continuación: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Archivos/Archivos/bin/Debug/Archivos.exe b/Archivos/Archivos/bin/Debug/Archivos.exe new file mode 100644 index 0000000..7940754 Binary files /dev/null and b/Archivos/Archivos/bin/Debug/Archivos.exe differ diff --git a/Archivos/Archivos/bin/Debug/Archivos.exe.config b/Archivos/Archivos/bin/Debug/Archivos.exe.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/Archivos/Archivos/bin/Debug/Archivos.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Archivos/Archivos/bin/Debug/Archivos.pdb b/Archivos/Archivos/bin/Debug/Archivos.pdb new file mode 100644 index 0000000..7eaaff8 Binary files /dev/null and b/Archivos/Archivos/bin/Debug/Archivos.pdb differ diff --git a/Archivos/Archivos/bin/Debug/Archivos.vshost.exe b/Archivos/Archivos/bin/Debug/Archivos.vshost.exe new file mode 100644 index 0000000..c0dfecc Binary files /dev/null and b/Archivos/Archivos/bin/Debug/Archivos.vshost.exe differ diff --git a/Archivos/Archivos/bin/Debug/Archivos.vshost.exe.config b/Archivos/Archivos/bin/Debug/Archivos.vshost.exe.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/Archivos/Archivos/bin/Debug/Archivos.vshost.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Archivos/Archivos/bin/Debug/Archivos.vshost.exe.manifest b/Archivos/Archivos/bin/Debug/Archivos.vshost.exe.manifest new file mode 100644 index 0000000..061c9ca --- /dev/null +++ b/Archivos/Archivos/bin/Debug/Archivos.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/Archivos/Archivos/bin/Debug/archivo.txt b/Archivos/Archivos/bin/Debug/archivo.txt new file mode 100644 index 0000000..06fb9a6 --- /dev/null +++ b/Archivos/Archivos/bin/Debug/archivo.txt @@ -0,0 +1,2 @@ +Hola Mundo +Chau Mundo diff --git a/Archivos/Archivos/obj/Debug/Archivos.csproj.FileListAbsolute.txt b/Archivos/Archivos/obj/Debug/Archivos.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..60b8030 --- /dev/null +++ b/Archivos/Archivos/obj/Debug/Archivos.csproj.FileListAbsolute.txt @@ -0,0 +1,6 @@ +I:\UNLaM\DESARROLLO WEB - POLO TECNOLÓGICO\C# - ASP.NET\C# - Aplicaciones de consola\Archivos\Archivos\bin\Debug\Archivos.exe.config +I:\UNLaM\DESARROLLO WEB - POLO TECNOLÓGICO\C# - ASP.NET\C# - Aplicaciones de consola\Archivos\Archivos\bin\Debug\Archivos.exe +I:\UNLaM\DESARROLLO WEB - POLO TECNOLÓGICO\C# - ASP.NET\C# - Aplicaciones de consola\Archivos\Archivos\bin\Debug\Archivos.pdb +I:\UNLaM\DESARROLLO WEB - POLO TECNOLÓGICO\C# - ASP.NET\C# - Aplicaciones de consola\Archivos\Archivos\obj\Debug\Archivos.csprojResolveAssemblyReference.cache +I:\UNLaM\DESARROLLO WEB - POLO TECNOLÓGICO\C# - ASP.NET\C# - Aplicaciones de consola\Archivos\Archivos\obj\Debug\Archivos.exe +I:\UNLaM\DESARROLLO WEB - POLO TECNOLÓGICO\C# - ASP.NET\C# - Aplicaciones de consola\Archivos\Archivos\obj\Debug\Archivos.pdb diff --git a/Archivos/Archivos/obj/Debug/Archivos.csprojResolveAssemblyReference.cache b/Archivos/Archivos/obj/Debug/Archivos.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..27606bb Binary files /dev/null and b/Archivos/Archivos/obj/Debug/Archivos.csprojResolveAssemblyReference.cache differ diff --git a/Archivos/Archivos/obj/Debug/Archivos.exe b/Archivos/Archivos/obj/Debug/Archivos.exe new file mode 100644 index 0000000..7940754 Binary files /dev/null and b/Archivos/Archivos/obj/Debug/Archivos.exe differ diff --git a/Archivos/Archivos/obj/Debug/Archivos.pdb b/Archivos/Archivos/obj/Debug/Archivos.pdb new file mode 100644 index 0000000..7eaaff8 Binary files /dev/null and b/Archivos/Archivos/obj/Debug/Archivos.pdb differ diff --git a/Archivos/Archivos/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Archivos/Archivos/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..01fd016 Binary files /dev/null and b/Archivos/Archivos/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Archivos/Archivos/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/Archivos/Archivos/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs new file mode 100644 index 0000000..e69de29 diff --git a/Archivos/Archivos/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/Archivos/Archivos/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs new file mode 100644 index 0000000..e69de29 diff --git a/Archivos/Archivos/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/Archivos/Archivos/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs new file mode 100644 index 0000000..e69de29 diff --git a/ArrayLists/ArrayLists.sln b/ArrayLists/ArrayLists.sln new file mode 100644 index 0000000..fb034b7 --- /dev/null +++ b/ArrayLists/ArrayLists.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2013 +VisualStudioVersion = 12.0.21005.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ArrayLists", "ArrayLists\ArrayLists.csproj", "{4D4D016A-34C1-45E9-B718-AF735556E96A}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {4D4D016A-34C1-45E9-B718-AF735556E96A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4D4D016A-34C1-45E9-B718-AF735556E96A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4D4D016A-34C1-45E9-B718-AF735556E96A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4D4D016A-34C1-45E9-B718-AF735556E96A}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/ArrayLists/ArrayLists.v12.suo b/ArrayLists/ArrayLists.v12.suo new file mode 100644 index 0000000..f387961 Binary files /dev/null and b/ArrayLists/ArrayLists.v12.suo differ diff --git a/ArrayLists/ArrayLists/App.config b/ArrayLists/ArrayLists/App.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/ArrayLists/ArrayLists/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/ArrayLists/ArrayLists/ArrayLists.csproj b/ArrayLists/ArrayLists/ArrayLists.csproj new file mode 100644 index 0000000..643f088 --- /dev/null +++ b/ArrayLists/ArrayLists/ArrayLists.csproj @@ -0,0 +1,60 @@ + + + + + Debug + AnyCPU + {4D4D016A-34C1-45E9-B718-AF735556E96A} + Exe + Properties + ArrayLists + ArrayLists + v4.5 + 512 + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArrayLists/ArrayLists/MostrarArrayList.cs b/ArrayLists/ArrayLists/MostrarArrayList.cs new file mode 100644 index 0000000..31c90cb --- /dev/null +++ b/ArrayLists/ArrayLists/MostrarArrayList.cs @@ -0,0 +1,38 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace ArrayLists +{ + public class MostrarArrayList + { + ArrayList Lista; + + public MostrarArrayList() + { + Lista = new ArrayList(); + } + + public void CapturaDatos() + { + string cadena; + + for (int i = 0; i < 3; i++) + { + cadena = Console.ReadLine(); + Lista.Add(cadena); + } + } + + public void ImprimeDatos() + { + foreach (var item in Lista) + { + Console.WriteLine(item); + } + } + } +} diff --git a/ArrayLists/ArrayLists/MostrarHashTable.cs b/ArrayLists/ArrayLists/MostrarHashTable.cs new file mode 100644 index 0000000..f60a934 --- /dev/null +++ b/ArrayLists/ArrayLists/MostrarHashTable.cs @@ -0,0 +1,46 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace ArrayLists +{ + public class MostrarHashTable + { + Hashtable Tabla; + + public MostrarHashTable() + { + Tabla = new Hashtable(); + } + + public void AgregarDatos() + { + Tabla.Add("C001", "Producto 1"); + Tabla.Add("J546", "Producto 2"); + Tabla.Add("L899", "Producto 3"); + Tabla.Add("M524", "Producto 4"); + } + + public void MostrarDatos() + { + Console.WriteLine("Existen " + Tabla.Count + " elementos. Dame la descripción del elemento con clave:"); + string cadena = Console.ReadLine(); + + if (Tabla[cadena] == null) + Console.WriteLine("\n El elemento no existe"); + else + { + Console.WriteLine("\n El elemento encontrado es:"); + Console.WriteLine(Tabla[cadena]); + } + } + + public void Eliminar(string key) + { + Tabla.Remove(key); + } + } +} diff --git a/ArrayLists/ArrayLists/Program.cs b/ArrayLists/ArrayLists/Program.cs new file mode 100644 index 0000000..6f5e23c --- /dev/null +++ b/ArrayLists/ArrayLists/Program.cs @@ -0,0 +1,40 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace ArrayLists +{ + class Program + { + static void Main(string[] args) + { + MostrarArrayList Muestra = new MostrarArrayList(); + + Console.WriteLine("ARRAYLIST \n"); + + Console.WriteLine("Ingrese datos del ArrayList: \n"); + Muestra.CapturaDatos(); + + Console.WriteLine("\n ArrayList: \n"); + Muestra.ImprimeDatos(); + + MostrarHashTable Tabla = new MostrarHashTable(); + + Console.WriteLine("\n HASHTABLE \n"); + + Tabla.AgregarDatos(); + Tabla.MostrarDatos(); + + Console.ReadKey(); + + Tabla.Eliminar("C001"); + + Console.WriteLine(); + Tabla.MostrarDatos(); + + Console.ReadKey(); + } + } +} diff --git a/ArrayLists/ArrayLists/Properties/AssemblyInfo.cs b/ArrayLists/ArrayLists/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..bbfedd4 --- /dev/null +++ b/ArrayLists/ArrayLists/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// La información general sobre un ensamblado se controla mediante el siguiente +// conjunto de atributos. Cambie estos atributos para modificar la información +// asociada con un ensamblado. +[assembly: AssemblyTitle("ArrayLists")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("ArrayLists")] +[assembly: AssemblyCopyright("Copyright © 2017")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Si establece ComVisible como false, los tipos de este ensamblado no estarán visibles +// para los componentes COM. Si necesita obtener acceso a un tipo de este ensamblado desde +// COM, establezca el atributo ComVisible como true en este tipo. +[assembly: ComVisible(false)] + +// El siguiente GUID sirve como identificador de typelib si este proyecto se expone a COM +[assembly: Guid("978c66a5-a26c-473b-84f2-d7f2b7971f0a")] + +// La información de versión de un ensamblado consta de los cuatro valores siguientes: +// +// Versión principal +// Versión secundaria +// Número de compilación +// Revisión +// +// Puede especificar todos los valores o establecer como predeterminados los números de compilación y de revisión +// mediante el carácter '*', como se muestra a continuación: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/ArrayLists/ArrayLists/bin/Debug/ArrayLists.exe b/ArrayLists/ArrayLists/bin/Debug/ArrayLists.exe new file mode 100644 index 0000000..8aadb0a Binary files /dev/null and b/ArrayLists/ArrayLists/bin/Debug/ArrayLists.exe differ diff --git a/ArrayLists/ArrayLists/bin/Debug/ArrayLists.exe.config b/ArrayLists/ArrayLists/bin/Debug/ArrayLists.exe.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/ArrayLists/ArrayLists/bin/Debug/ArrayLists.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/ArrayLists/ArrayLists/bin/Debug/ArrayLists.pdb b/ArrayLists/ArrayLists/bin/Debug/ArrayLists.pdb new file mode 100644 index 0000000..4ca8e00 Binary files /dev/null and b/ArrayLists/ArrayLists/bin/Debug/ArrayLists.pdb differ diff --git a/ArrayLists/ArrayLists/bin/Debug/ArrayLists.vshost.exe b/ArrayLists/ArrayLists/bin/Debug/ArrayLists.vshost.exe new file mode 100644 index 0000000..c0dfecc Binary files /dev/null and b/ArrayLists/ArrayLists/bin/Debug/ArrayLists.vshost.exe differ diff --git a/ArrayLists/ArrayLists/bin/Debug/ArrayLists.vshost.exe.config b/ArrayLists/ArrayLists/bin/Debug/ArrayLists.vshost.exe.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/ArrayLists/ArrayLists/bin/Debug/ArrayLists.vshost.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/ArrayLists/ArrayLists/bin/Debug/ArrayLists.vshost.exe.manifest b/ArrayLists/ArrayLists/bin/Debug/ArrayLists.vshost.exe.manifest new file mode 100644 index 0000000..061c9ca --- /dev/null +++ b/ArrayLists/ArrayLists/bin/Debug/ArrayLists.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/ArrayLists/ArrayLists/obj/Debug/ArrayLists.csproj.FileListAbsolute.txt b/ArrayLists/ArrayLists/obj/Debug/ArrayLists.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..4501c35 --- /dev/null +++ b/ArrayLists/ArrayLists/obj/Debug/ArrayLists.csproj.FileListAbsolute.txt @@ -0,0 +1,6 @@ +I:\UNLaM\DESARROLLO WEB - POLO TECNOLÓGICO\C# - ASP.NET\C# - Aplicaciones de consola\ArrayLists\ArrayLists\bin\Debug\ArrayLists.exe.config +I:\UNLaM\DESARROLLO WEB - POLO TECNOLÓGICO\C# - ASP.NET\C# - Aplicaciones de consola\ArrayLists\ArrayLists\bin\Debug\ArrayLists.exe +I:\UNLaM\DESARROLLO WEB - POLO TECNOLÓGICO\C# - ASP.NET\C# - Aplicaciones de consola\ArrayLists\ArrayLists\bin\Debug\ArrayLists.pdb +I:\UNLaM\DESARROLLO WEB - POLO TECNOLÓGICO\C# - ASP.NET\C# - Aplicaciones de consola\ArrayLists\ArrayLists\obj\Debug\ArrayLists.csprojResolveAssemblyReference.cache +I:\UNLaM\DESARROLLO WEB - POLO TECNOLÓGICO\C# - ASP.NET\C# - Aplicaciones de consola\ArrayLists\ArrayLists\obj\Debug\ArrayLists.exe +I:\UNLaM\DESARROLLO WEB - POLO TECNOLÓGICO\C# - ASP.NET\C# - Aplicaciones de consola\ArrayLists\ArrayLists\obj\Debug\ArrayLists.pdb diff --git a/ArrayLists/ArrayLists/obj/Debug/ArrayLists.csprojResolveAssemblyReference.cache b/ArrayLists/ArrayLists/obj/Debug/ArrayLists.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..27606bb Binary files /dev/null and b/ArrayLists/ArrayLists/obj/Debug/ArrayLists.csprojResolveAssemblyReference.cache differ diff --git a/ArrayLists/ArrayLists/obj/Debug/ArrayLists.exe b/ArrayLists/ArrayLists/obj/Debug/ArrayLists.exe new file mode 100644 index 0000000..8aadb0a Binary files /dev/null and b/ArrayLists/ArrayLists/obj/Debug/ArrayLists.exe differ diff --git a/ArrayLists/ArrayLists/obj/Debug/ArrayLists.pdb b/ArrayLists/ArrayLists/obj/Debug/ArrayLists.pdb new file mode 100644 index 0000000..4ca8e00 Binary files /dev/null and b/ArrayLists/ArrayLists/obj/Debug/ArrayLists.pdb differ diff --git a/ArrayLists/ArrayLists/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/ArrayLists/ArrayLists/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..234122f Binary files /dev/null and b/ArrayLists/ArrayLists/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/ArrayLists/ArrayLists/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/ArrayLists/ArrayLists/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs new file mode 100644 index 0000000..e69de29 diff --git a/ArrayLists/ArrayLists/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/ArrayLists/ArrayLists/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs new file mode 100644 index 0000000..e69de29 diff --git a/ArrayLists/ArrayLists/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/ArrayLists/ArrayLists/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs new file mode 100644 index 0000000..e69de29 diff --git a/Arreglos/Arreglos.sln b/Arreglos/Arreglos.sln new file mode 100644 index 0000000..4129f2e --- /dev/null +++ b/Arreglos/Arreglos.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2013 +VisualStudioVersion = 12.0.21005.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Arreglos", "Arreglos\Arreglos.csproj", "{CF66BB98-5FF6-4FAD-AB92-2924B5A530F0}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {CF66BB98-5FF6-4FAD-AB92-2924B5A530F0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {CF66BB98-5FF6-4FAD-AB92-2924B5A530F0}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CF66BB98-5FF6-4FAD-AB92-2924B5A530F0}.Release|Any CPU.ActiveCfg = Release|Any CPU + {CF66BB98-5FF6-4FAD-AB92-2924B5A530F0}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Arreglos/Arreglos.v12.suo b/Arreglos/Arreglos.v12.suo new file mode 100644 index 0000000..e1ad5e6 Binary files /dev/null and b/Arreglos/Arreglos.v12.suo differ diff --git a/Arreglos/Arreglos/App.config b/Arreglos/Arreglos/App.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/Arreglos/Arreglos/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Arreglos/Arreglos/Arreglos.csproj b/Arreglos/Arreglos/Arreglos.csproj new file mode 100644 index 0000000..eeabc14 --- /dev/null +++ b/Arreglos/Arreglos/Arreglos.csproj @@ -0,0 +1,58 @@ + + + + + Debug + AnyCPU + {CF66BB98-5FF6-4FAD-AB92-2924B5A530F0} + Exe + Properties + Arreglos + Arreglos + v4.5 + 512 + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Arreglos/Arreglos/Program.cs b/Arreglos/Arreglos/Program.cs new file mode 100644 index 0000000..5c7d654 --- /dev/null +++ b/Arreglos/Arreglos/Program.cs @@ -0,0 +1,30 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Arreglos +{ + class Program + { + static void Main(string[] args) + { + int[] arreglo = new int[12]; + + for (int i = 0; i < 12; i++) + { + arreglo[i] = i; + } + + Console.WriteLine("ARREGLO"); + + for (int i = 0; i < 12; i++) + { + Console.WriteLine(arreglo[i]); + } + + Console.ReadKey(); + } + } +} diff --git a/Arreglos/Arreglos/Properties/AssemblyInfo.cs b/Arreglos/Arreglos/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..f0229f2 --- /dev/null +++ b/Arreglos/Arreglos/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// La información general sobre un ensamblado se controla mediante el siguiente +// conjunto de atributos. Cambie estos atributos para modificar la información +// asociada con un ensamblado. +[assembly: AssemblyTitle("Arreglos")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Arreglos")] +[assembly: AssemblyCopyright("Copyright © 2017")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Si establece ComVisible como false, los tipos de este ensamblado no estarán visibles +// para los componentes COM. Si necesita obtener acceso a un tipo de este ensamblado desde +// COM, establezca el atributo ComVisible como true en este tipo. +[assembly: ComVisible(false)] + +// El siguiente GUID sirve como identificador de typelib si este proyecto se expone a COM +[assembly: Guid("94d578d4-1af8-41a6-9259-ac9d6255204a")] + +// La información de versión de un ensamblado consta de los cuatro valores siguientes: +// +// Versión principal +// Versión secundaria +// Número de compilación +// Revisión +// +// Puede especificar todos los valores o establecer como predeterminados los números de compilación y de revisión +// mediante el carácter '*', como se muestra a continuación: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Arreglos/Arreglos/bin/Debug/Arreglos.exe b/Arreglos/Arreglos/bin/Debug/Arreglos.exe new file mode 100644 index 0000000..d196a32 Binary files /dev/null and b/Arreglos/Arreglos/bin/Debug/Arreglos.exe differ diff --git a/Arreglos/Arreglos/bin/Debug/Arreglos.exe.config b/Arreglos/Arreglos/bin/Debug/Arreglos.exe.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/Arreglos/Arreglos/bin/Debug/Arreglos.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Arreglos/Arreglos/bin/Debug/Arreglos.pdb b/Arreglos/Arreglos/bin/Debug/Arreglos.pdb new file mode 100644 index 0000000..e042d5c Binary files /dev/null and b/Arreglos/Arreglos/bin/Debug/Arreglos.pdb differ diff --git a/Arreglos/Arreglos/bin/Debug/Arreglos.vshost.exe b/Arreglos/Arreglos/bin/Debug/Arreglos.vshost.exe new file mode 100644 index 0000000..c0dfecc Binary files /dev/null and b/Arreglos/Arreglos/bin/Debug/Arreglos.vshost.exe differ diff --git a/Arreglos/Arreglos/bin/Debug/Arreglos.vshost.exe.config b/Arreglos/Arreglos/bin/Debug/Arreglos.vshost.exe.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/Arreglos/Arreglos/bin/Debug/Arreglos.vshost.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Arreglos/Arreglos/bin/Debug/Arreglos.vshost.exe.manifest b/Arreglos/Arreglos/bin/Debug/Arreglos.vshost.exe.manifest new file mode 100644 index 0000000..061c9ca --- /dev/null +++ b/Arreglos/Arreglos/bin/Debug/Arreglos.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/Arreglos/Arreglos/obj/Debug/Arreglos.csproj.FileListAbsolute.txt b/Arreglos/Arreglos/obj/Debug/Arreglos.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..248ecf8 --- /dev/null +++ b/Arreglos/Arreglos/obj/Debug/Arreglos.csproj.FileListAbsolute.txt @@ -0,0 +1,6 @@ +I:\UNLaM\DESARROLLO WEB - POLO TECNOLÓGICO\C# - ASP.NET\C# - Aplicaciones de consola\Arreglos\Arreglos\bin\Debug\Arreglos.exe.config +I:\UNLaM\DESARROLLO WEB - POLO TECNOLÓGICO\C# - ASP.NET\C# - Aplicaciones de consola\Arreglos\Arreglos\bin\Debug\Arreglos.exe +I:\UNLaM\DESARROLLO WEB - POLO TECNOLÓGICO\C# - ASP.NET\C# - Aplicaciones de consola\Arreglos\Arreglos\bin\Debug\Arreglos.pdb +I:\UNLaM\DESARROLLO WEB - POLO TECNOLÓGICO\C# - ASP.NET\C# - Aplicaciones de consola\Arreglos\Arreglos\obj\Debug\Arreglos.csprojResolveAssemblyReference.cache +I:\UNLaM\DESARROLLO WEB - POLO TECNOLÓGICO\C# - ASP.NET\C# - Aplicaciones de consola\Arreglos\Arreglos\obj\Debug\Arreglos.exe +I:\UNLaM\DESARROLLO WEB - POLO TECNOLÓGICO\C# - ASP.NET\C# - Aplicaciones de consola\Arreglos\Arreglos\obj\Debug\Arreglos.pdb diff --git a/Arreglos/Arreglos/obj/Debug/Arreglos.csprojResolveAssemblyReference.cache b/Arreglos/Arreglos/obj/Debug/Arreglos.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..27606bb Binary files /dev/null and b/Arreglos/Arreglos/obj/Debug/Arreglos.csprojResolveAssemblyReference.cache differ diff --git a/Arreglos/Arreglos/obj/Debug/Arreglos.exe b/Arreglos/Arreglos/obj/Debug/Arreglos.exe new file mode 100644 index 0000000..d196a32 Binary files /dev/null and b/Arreglos/Arreglos/obj/Debug/Arreglos.exe differ diff --git a/Arreglos/Arreglos/obj/Debug/Arreglos.pdb b/Arreglos/Arreglos/obj/Debug/Arreglos.pdb new file mode 100644 index 0000000..e042d5c Binary files /dev/null and b/Arreglos/Arreglos/obj/Debug/Arreglos.pdb differ diff --git a/Arreglos/Arreglos/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Arreglos/Arreglos/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..994d90a Binary files /dev/null and b/Arreglos/Arreglos/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Arreglos/Arreglos/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/Arreglos/Arreglos/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs new file mode 100644 index 0000000..e69de29 diff --git a/Arreglos/Arreglos/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/Arreglos/Arreglos/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs new file mode 100644 index 0000000..e69de29 diff --git a/Arreglos/Arreglos/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/Arreglos/Arreglos/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs new file mode 100644 index 0000000..e69de29 diff --git a/Cliente - Clase Abstracta/Cliente - Clase Abstracta.sln b/Cliente - Clase Abstracta/Cliente - Clase Abstracta.sln new file mode 100644 index 0000000..bbd3357 --- /dev/null +++ b/Cliente - Clase Abstracta/Cliente - Clase Abstracta.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2013 +VisualStudioVersion = 12.0.21005.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Cliente - Clase Abstracta", "Cliente - Clase Abstracta\Cliente - Clase Abstracta.csproj", "{2BB90101-B8A7-414B-BA69-650FA91D09BD}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {2BB90101-B8A7-414B-BA69-650FA91D09BD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2BB90101-B8A7-414B-BA69-650FA91D09BD}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2BB90101-B8A7-414B-BA69-650FA91D09BD}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2BB90101-B8A7-414B-BA69-650FA91D09BD}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Cliente - Clase Abstracta/Cliente - Clase Abstracta.v12.suo b/Cliente - Clase Abstracta/Cliente - Clase Abstracta.v12.suo new file mode 100644 index 0000000..79c2048 Binary files /dev/null and b/Cliente - Clase Abstracta/Cliente - Clase Abstracta.v12.suo differ diff --git a/Cliente - Clase Abstracta/Cliente - Clase Abstracta/App.config b/Cliente - Clase Abstracta/Cliente - Clase Abstracta/App.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/Cliente - Clase Abstracta/Cliente - Clase Abstracta/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Cliente - Clase Abstracta/Cliente - Clase Abstracta/Archivo.cs b/Cliente - Clase Abstracta/Cliente - Clase Abstracta/Archivo.cs new file mode 100644 index 0000000..2a421bc --- /dev/null +++ b/Cliente - Clase Abstracta/Cliente - Clase Abstracta/Archivo.cs @@ -0,0 +1,64 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +using System.IO; // para trabajar con archivos + +namespace Cliente___Clase_Abstracta +{ + public class Archivo : SalidasInterface + { + public void ImprimeCliente(ClienteAbstracta cliente) + { + try + { + StreamWriter archivo = new StreamWriter("ArchivoBitacora.log", true); + + archivo.WriteLine(cliente.IdCliente); + archivo.WriteLine(cliente.Nombre); + archivo.WriteLine(cliente.Clave); + archivo.WriteLine(cliente.RFC); + archivo.WriteLine(cliente.TipoRegimen); + archivo.WriteLine(cliente.NombreContacto); + + archivo.Close(); + } + catch(DirectoryNotFoundException e) + { + Console.WriteLine("\n -->> No se ha encontrado el directorio para almacenar el archivo"); + Console.WriteLine(e.Message); + + Console.ReadKey(); + System.Environment.Exit(0); + } + } + + public void ImprimeDireccion(Direcciones direccion) + { + try + { + StreamWriter archivo = new StreamWriter("ArchivoBitacora.log", true); + + archivo.WriteLine(direccion.Calle); + archivo.WriteLine(direccion.NumeroExterior); + archivo.WriteLine(direccion.NumeroInterior); + archivo.WriteLine(direccion.Colonia); + archivo.WriteLine(direccion.Municipio); + archivo.WriteLine(direccion.Estado); + archivo.WriteLine(direccion.CP); + + archivo.Close(); + } + catch (DirectoryNotFoundException e) + { + Console.WriteLine("\n -->> No se ha encontrado el directorio para almacenar el archivo"); + Console.WriteLine(e.Message); + + Console.ReadKey(); + System.Environment.Exit(0); + } + } + } +} diff --git a/Cliente - Clase Abstracta/Cliente - Clase Abstracta/Cliente - Clase Abstracta.csproj b/Cliente - Clase Abstracta/Cliente - Clase Abstracta/Cliente - Clase Abstracta.csproj new file mode 100644 index 0000000..4f5cc53 --- /dev/null +++ b/Cliente - Clase Abstracta/Cliente - Clase Abstracta/Cliente - Clase Abstracta.csproj @@ -0,0 +1,65 @@ + + + + + Debug + AnyCPU + {2BB90101-B8A7-414B-BA69-650FA91D09BD} + Exe + Properties + Cliente___Clase_Abstracta + Cliente - Clase Abstracta + v4.5 + 512 + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Cliente - Clase Abstracta/Cliente - Clase Abstracta/ClienteAbstracta.cs b/Cliente - Clase Abstracta/Cliente - Clase Abstracta/ClienteAbstracta.cs new file mode 100644 index 0000000..c328ec1 --- /dev/null +++ b/Cliente - Clase Abstracta/Cliente - Clase Abstracta/ClienteAbstracta.cs @@ -0,0 +1,25 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Cliente___Clase_Abstracta +{ + public abstract class ClienteAbstracta + { + public abstract int IdCliente { get; set; } + + public abstract string Nombre { get; set; } + + public abstract string Clave { get; set; } + + public abstract string RFC { get; set; } + + public abstract int TipoRegimen { get; set; } + + public abstract string NombreContacto { get; set; } + + // las clases que hereden de la clase abstracta deben implementar todos los miembros abstractos + } +} diff --git a/Cliente - Clase Abstracta/Cliente - Clase Abstracta/ClienteBase.cs b/Cliente - Clase Abstracta/Cliente - Clase Abstracta/ClienteBase.cs new file mode 100644 index 0000000..37536b8 --- /dev/null +++ b/Cliente - Clase Abstracta/Cliente - Clase Abstracta/ClienteBase.cs @@ -0,0 +1,43 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Cliente___Clase_Abstracta +{ + public class ClienteBase : ClienteAbstracta + { + public override int IdCliente { get; set; } + + public override string Nombre { get; set; } + + public override string Clave { get; set; } + + public override string RFC { get; set; } + + public override int TipoRegimen { get; set; } + + public override string NombreContacto { get; set; } + + public ClienteBase() + { + IdCliente = 0; + Nombre = string.Empty; + Clave = string.Empty; + RFC = string.Empty; + TipoRegimen = 0; + NombreContacto = string.Empty; + } + + public ClienteBase(int IdCliente, string Nombre, string Clave, string RFC, int TipoRegimen, string NombreContacto) + { + this.IdCliente = IdCliente; + this.Nombre = Nombre; + this.Clave = Clave; + this.RFC = RFC; + this.TipoRegimen = TipoRegimen; + this.NombreContacto = NombreContacto; + } + } +} diff --git a/Cliente - Clase Abstracta/Cliente - Clase Abstracta/ClienteConContacto.cs b/Cliente - Clase Abstracta/Cliente - Clase Abstracta/ClienteConContacto.cs new file mode 100644 index 0000000..2cc78e3 --- /dev/null +++ b/Cliente - Clase Abstracta/Cliente - Clase Abstracta/ClienteConContacto.cs @@ -0,0 +1,55 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Cliente___Clase_Abstracta +{ + public class ClienteConContacto : ClienteBase + { + public string Telefono1 { get; set; } + + public string Telefono2 { get; set; } + + public string Email { get; set; } + + private Direcciones _direccion; + + public Direcciones Direccion + { + get { return _direccion; } + set { _direccion = value; } + } + + public ClienteConContacto() + { + _direccion = new Direcciones(); + } + + public ClienteConContacto(int IdCliente, string Nombre, string Clave, string RFC, + int TipoRegimen, string NombreContacto, string Telefono1, + string Telefono2, string Email, string Calle, + string NumeroExterior, string Numerointerior, + string Colonia, string Municipio, string Estado, string CP) : this() + { + this.IdCliente = IdCliente; + this.Nombre = Nombre; + this.Clave = Clave; + this.RFC = RFC; + this.TipoRegimen = TipoRegimen; + this.NombreContacto = NombreContacto; + this.Telefono1 = Telefono1; + this.Telefono2 = Telefono2; + this.Email = Email; + + Direccion.Calle = Calle; + Direccion.NumeroExterior = NumeroExterior; + Direccion.NumeroInterior = Numerointerior; + Direccion.Colonia = Colonia; + Direccion.Municipio = Municipio; + Direccion.Estado = Estado; + Direccion.CP = CP; + } + } +} diff --git a/Cliente - Clase Abstracta/Cliente - Clase Abstracta/Direcciones.cs b/Cliente - Clase Abstracta/Cliente - Clase Abstracta/Direcciones.cs new file mode 100644 index 0000000..de1037d --- /dev/null +++ b/Cliente - Clase Abstracta/Cliente - Clase Abstracta/Direcciones.cs @@ -0,0 +1,36 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Cliente___Clase_Abstracta +{ + public class Direcciones + { + public string Calle { get; set; } + + public string NumeroExterior { get; set; } + + public string NumeroInterior { get; set; } + + public string Colonia { get; set; } + + public string Municipio { get; set; } + + public string Estado { get; set; } + + public string CP { get; set; } + + public Direcciones() + { + Calle = string.Empty; + NumeroExterior = string.Empty; + NumeroInterior = string.Empty; + Colonia = string.Empty; + Municipio = string.Empty; + Estado = string.Empty; + CP = string.Empty; + } + } +} diff --git a/Cliente - Clase Abstracta/Cliente - Clase Abstracta/Impresion.cs b/Cliente - Clase Abstracta/Cliente - Clase Abstracta/Impresion.cs new file mode 100644 index 0000000..9f2767e --- /dev/null +++ b/Cliente - Clase Abstracta/Cliente - Clase Abstracta/Impresion.cs @@ -0,0 +1,32 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Cliente___Clase_Abstracta +{ + public class Impresion : SalidasInterface + { + public void ImprimeCliente(ClienteAbstracta cliente) + { + Console.WriteLine(cliente.IdCliente); + Console.WriteLine(cliente.Nombre); + Console.WriteLine(cliente.Clave); + Console.WriteLine(cliente.RFC); + Console.WriteLine(cliente.TipoRegimen); + Console.WriteLine(cliente.NombreContacto); + } + + public void ImprimeDireccion(Direcciones direccion) + { + Console.WriteLine(direccion.Calle); + Console.WriteLine(direccion.NumeroExterior); + Console.WriteLine(direccion.NumeroInterior); + Console.WriteLine(direccion.Colonia); + Console.WriteLine(direccion.Municipio); + Console.WriteLine(direccion.Estado); + Console.WriteLine(direccion.CP); + } + } +} diff --git a/Cliente - Clase Abstracta/Cliente - Clase Abstracta/Program.cs b/Cliente - Clase Abstracta/Cliente - Clase Abstracta/Program.cs new file mode 100644 index 0000000..8ca85de --- /dev/null +++ b/Cliente - Clase Abstracta/Cliente - Clase Abstracta/Program.cs @@ -0,0 +1,37 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Cliente___Clase_Abstracta +{ + class Program + { + static void Main(string[] args) + { + /* + ClienteAbstracta cliente = new ClienteAbstracta(); + no compila porque no se puede instanciar una clase abstracta + */ + + ClienteBase cliente = new ClienteBase(39210915,"Fabián Norberto","fabnoresc","HEHM",1,"FABNESC"); + + ClienteConContacto cliente2 = new ClienteConContacto(39210915, "Fabián Norberto", + "fabnoresc", "HEHM", 1, "FABNESC", "02202450147", "02202450258", + "fabiannorbertoescobar@gmail.com", "Riglos 6542", "1551173500", "1558501800", + "Gregorio de Laferrere", "La Matanza", "Argentina", "1757"); + + SalidasInterface Salida; + + Salida = new Archivo(); + + Salida.ImprimeCliente(cliente2); + + Console.WriteLine("Ejecución del programa exitosa"); + Console.WriteLine(@"Directorio del archivo: Cliente - Clase Abstracta\bin\debug\ArchivoBitacora.log"); + + Console.ReadKey(); + } + } +} diff --git a/Cliente - Clase Abstracta/Cliente - Clase Abstracta/Properties/AssemblyInfo.cs b/Cliente - Clase Abstracta/Cliente - Clase Abstracta/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..79a8579 --- /dev/null +++ b/Cliente - Clase Abstracta/Cliente - Clase Abstracta/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// La información general sobre un ensamblado se controla mediante el siguiente +// conjunto de atributos. Cambie estos atributos para modificar la información +// asociada con un ensamblado. +[assembly: AssemblyTitle("Cliente - Clase Abstracta")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Cliente - Clase Abstracta")] +[assembly: AssemblyCopyright("Copyright © 2017")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Si establece ComVisible como false, los tipos de este ensamblado no estarán visibles +// para los componentes COM. Si necesita obtener acceso a un tipo de este ensamblado desde +// COM, establezca el atributo ComVisible como true en este tipo. +[assembly: ComVisible(false)] + +// El siguiente GUID sirve como identificador de typelib si este proyecto se expone a COM +[assembly: Guid("74ac20fe-3b30-40bf-b97f-0b99979a6424")] + +// La información de versión de un ensamblado consta de los cuatro valores siguientes: +// +// Versión principal +// Versión secundaria +// Número de compilación +// Revisión +// +// Puede especificar todos los valores o establecer como predeterminados los números de compilación y de revisión +// mediante el carácter '*', como se muestra a continuación: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Cliente - Clase Abstracta/Cliente - Clase Abstracta/SalidasInterface.cs b/Cliente - Clase Abstracta/Cliente - Clase Abstracta/SalidasInterface.cs new file mode 100644 index 0000000..889a232 --- /dev/null +++ b/Cliente - Clase Abstracta/Cliente - Clase Abstracta/SalidasInterface.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Cliente___Clase_Abstracta +{ + public interface SalidasInterface + { + void ImprimeCliente(ClienteAbstracta cliente); + + void ImprimeDireccion(Direcciones direccion); + } +} diff --git a/Cliente - Clase Abstracta/Cliente - Clase Abstracta/bin/Debug/ArchivoBitacora.log b/Cliente - Clase Abstracta/Cliente - Clase Abstracta/bin/Debug/ArchivoBitacora.log new file mode 100644 index 0000000..32ed4dc --- /dev/null +++ b/Cliente - Clase Abstracta/Cliente - Clase Abstracta/bin/Debug/ArchivoBitacora.log @@ -0,0 +1,18 @@ +39210915 +Fabián Norberto +fabnoresc +HEHM +1 +FABNESC +39210915 +Fabián Norberto +fabnoresc +HEHM +1 +FABNESC +39210915 +Fabián Norberto +fabnoresc +HEHM +1 +FABNESC diff --git a/Cliente - Clase Abstracta/Cliente - Clase Abstracta/bin/Debug/Cliente - Clase Abstracta.exe b/Cliente - Clase Abstracta/Cliente - Clase Abstracta/bin/Debug/Cliente - Clase Abstracta.exe new file mode 100644 index 0000000..1c837b0 Binary files /dev/null and b/Cliente - Clase Abstracta/Cliente - Clase Abstracta/bin/Debug/Cliente - Clase Abstracta.exe differ diff --git a/Cliente - Clase Abstracta/Cliente - Clase Abstracta/bin/Debug/Cliente - Clase Abstracta.exe.config b/Cliente - Clase Abstracta/Cliente - Clase Abstracta/bin/Debug/Cliente - Clase Abstracta.exe.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/Cliente - Clase Abstracta/Cliente - Clase Abstracta/bin/Debug/Cliente - Clase Abstracta.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Cliente - Clase Abstracta/Cliente - Clase Abstracta/bin/Debug/Cliente - Clase Abstracta.pdb b/Cliente - Clase Abstracta/Cliente - Clase Abstracta/bin/Debug/Cliente - Clase Abstracta.pdb new file mode 100644 index 0000000..995f661 Binary files /dev/null and b/Cliente - Clase Abstracta/Cliente - Clase Abstracta/bin/Debug/Cliente - Clase Abstracta.pdb differ diff --git a/Cliente - Clase Abstracta/Cliente - Clase Abstracta/bin/Debug/Cliente - Clase Abstracta.vshost.exe b/Cliente - Clase Abstracta/Cliente - Clase Abstracta/bin/Debug/Cliente - Clase Abstracta.vshost.exe new file mode 100644 index 0000000..c0dfecc Binary files /dev/null and b/Cliente - Clase Abstracta/Cliente - Clase Abstracta/bin/Debug/Cliente - Clase Abstracta.vshost.exe differ diff --git a/Cliente - Clase Abstracta/Cliente - Clase Abstracta/bin/Debug/Cliente - Clase Abstracta.vshost.exe.config b/Cliente - Clase Abstracta/Cliente - Clase Abstracta/bin/Debug/Cliente - Clase Abstracta.vshost.exe.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/Cliente - Clase Abstracta/Cliente - Clase Abstracta/bin/Debug/Cliente - Clase Abstracta.vshost.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Cliente - Clase Abstracta/Cliente - Clase Abstracta/bin/Debug/Cliente - Clase Abstracta.vshost.exe.manifest b/Cliente - Clase Abstracta/Cliente - Clase Abstracta/bin/Debug/Cliente - Clase Abstracta.vshost.exe.manifest new file mode 100644 index 0000000..061c9ca --- /dev/null +++ b/Cliente - Clase Abstracta/Cliente - Clase Abstracta/bin/Debug/Cliente - Clase Abstracta.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/Cliente - Clase Abstracta/Cliente - Clase Abstracta/obj/Debug/Cliente - Clase Abstracta.csproj.FileListAbsolute.txt b/Cliente - Clase Abstracta/Cliente - Clase Abstracta/obj/Debug/Cliente - Clase Abstracta.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..fbfb2c4 --- /dev/null +++ b/Cliente - Clase Abstracta/Cliente - Clase Abstracta/obj/Debug/Cliente - Clase Abstracta.csproj.FileListAbsolute.txt @@ -0,0 +1,5 @@ +I:\UNLaM\DESARROLLO WEB - POLO TECNOLÓGICO\C# - ASP.NET\C# - Aplicaciones de consola\Cliente - Clase Abstracta\Cliente - Clase Abstracta\bin\Debug\Cliente - Clase Abstracta.exe.config +I:\UNLaM\DESARROLLO WEB - POLO TECNOLÓGICO\C# - ASP.NET\C# - Aplicaciones de consola\Cliente - Clase Abstracta\Cliente - Clase Abstracta\bin\Debug\Cliente - Clase Abstracta.exe +I:\UNLaM\DESARROLLO WEB - POLO TECNOLÓGICO\C# - ASP.NET\C# - Aplicaciones de consola\Cliente - Clase Abstracta\Cliente - Clase Abstracta\bin\Debug\Cliente - Clase Abstracta.pdb +I:\UNLaM\DESARROLLO WEB - POLO TECNOLÓGICO\C# - ASP.NET\C# - Aplicaciones de consola\Cliente - Clase Abstracta\Cliente - Clase Abstracta\obj\Debug\Cliente - Clase Abstracta.exe +I:\UNLaM\DESARROLLO WEB - POLO TECNOLÓGICO\C# - ASP.NET\C# - Aplicaciones de consola\Cliente - Clase Abstracta\Cliente - Clase Abstracta\obj\Debug\Cliente - Clase Abstracta.pdb diff --git a/Cliente - Clase Abstracta/Cliente - Clase Abstracta/obj/Debug/Cliente - Clase Abstracta.exe b/Cliente - Clase Abstracta/Cliente - Clase Abstracta/obj/Debug/Cliente - Clase Abstracta.exe new file mode 100644 index 0000000..1c837b0 Binary files /dev/null and b/Cliente - Clase Abstracta/Cliente - Clase Abstracta/obj/Debug/Cliente - Clase Abstracta.exe differ diff --git a/Cliente - Clase Abstracta/Cliente - Clase Abstracta/obj/Debug/Cliente - Clase Abstracta.pdb b/Cliente - Clase Abstracta/Cliente - Clase Abstracta/obj/Debug/Cliente - Clase Abstracta.pdb new file mode 100644 index 0000000..995f661 Binary files /dev/null and b/Cliente - Clase Abstracta/Cliente - Clase Abstracta/obj/Debug/Cliente - Clase Abstracta.pdb differ diff --git a/Cliente - Clase Abstracta/Cliente - Clase Abstracta/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Cliente - Clase Abstracta/Cliente - Clase Abstracta/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..208d889 Binary files /dev/null and b/Cliente - Clase Abstracta/Cliente - Clase Abstracta/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Cliente - Clase Abstracta/Cliente - Clase Abstracta/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/Cliente - Clase Abstracta/Cliente - Clase Abstracta/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs new file mode 100644 index 0000000..e69de29 diff --git a/Cliente - Clase Abstracta/Cliente - Clase Abstracta/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/Cliente - Clase Abstracta/Cliente - Clase Abstracta/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs new file mode 100644 index 0000000..e69de29 diff --git a/Cliente - Clase Abstracta/Cliente - Clase Abstracta/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/Cliente - Clase Abstracta/Cliente - Clase Abstracta/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs new file mode 100644 index 0000000..e69de29 diff --git a/Clientes - Herencia/Clientes - Herencia.sln b/Clientes - Herencia/Clientes - Herencia.sln new file mode 100644 index 0000000..07004d0 --- /dev/null +++ b/Clientes - Herencia/Clientes - Herencia.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2013 +VisualStudioVersion = 12.0.21005.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Clientes - Herencia", "Clientes - Herencia\Clientes - Herencia.csproj", "{7ED7FED5-26D5-4CD5-BAD3-43ED7028F5D5}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {7ED7FED5-26D5-4CD5-BAD3-43ED7028F5D5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7ED7FED5-26D5-4CD5-BAD3-43ED7028F5D5}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7ED7FED5-26D5-4CD5-BAD3-43ED7028F5D5}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7ED7FED5-26D5-4CD5-BAD3-43ED7028F5D5}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Clientes - Herencia/Clientes - Herencia.v12.suo b/Clientes - Herencia/Clientes - Herencia.v12.suo new file mode 100644 index 0000000..a27aa90 Binary files /dev/null and b/Clientes - Herencia/Clientes - Herencia.v12.suo differ diff --git a/Clientes - Herencia/Clientes - Herencia/App.config b/Clientes - Herencia/Clientes - Herencia/App.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/Clientes - Herencia/Clientes - Herencia/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Clientes - Herencia/Clientes - Herencia/Cliente.cs b/Clientes - Herencia/Clientes - Herencia/Cliente.cs new file mode 100644 index 0000000..c1fed73 --- /dev/null +++ b/Clientes - Herencia/Clientes - Herencia/Cliente.cs @@ -0,0 +1,33 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Clientes___Herencia +{ + public class Cliente + { + private int _idCliente; + private string _nombre; + private string _apellido; + + public int IdCliente + { + get { return _idCliente; } + set { _idCliente = value; } + } + + public string Nombre + { + get { return _nombre; } + set { _nombre = value; } + } + + public string Apellido + { + get { return _apellido; } + set { _apellido = value; } + } + } +} diff --git a/Clientes - Herencia/Clientes - Herencia/ClienteVentas.cs b/Clientes - Herencia/Clientes - Herencia/ClienteVentas.cs new file mode 100644 index 0000000..78f70f1 --- /dev/null +++ b/Clientes - Herencia/Clientes - Herencia/ClienteVentas.cs @@ -0,0 +1,47 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Clientes___Herencia +{ + public class ClienteVentas : Cliente + { + private string _RFC; + private string _direccion; + private string _colonia; + private string _municipio; + private bool _esCredito; + + public string RFC + { + get { return _RFC; } + set { _RFC = value; } + } + + public string Direccion + { + get { return _direccion; } + set { _direccion = value; } + } + + public string Colonia + { + get { return _colonia; } + set { _colonia = value; } + } + + public string Municipio + { + get { return _municipio; } + set { _municipio = value; } + } + + public bool EsCredito + { + get { return _esCredito; } + set { _esCredito = value; } + } + } +} diff --git a/Clientes - Herencia/Clientes - Herencia/Clientes - Herencia.csproj b/Clientes - Herencia/Clientes - Herencia/Clientes - Herencia.csproj new file mode 100644 index 0000000..9d820b1 --- /dev/null +++ b/Clientes - Herencia/Clientes - Herencia/Clientes - Herencia.csproj @@ -0,0 +1,60 @@ + + + + + Debug + AnyCPU + {7ED7FED5-26D5-4CD5-BAD3-43ED7028F5D5} + Exe + Properties + Clientes___Herencia + Clientes - Herencia + v4.5 + 512 + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Clientes - Herencia/Clientes - Herencia/Program.cs b/Clientes - Herencia/Clientes - Herencia/Program.cs new file mode 100644 index 0000000..2b40182 --- /dev/null +++ b/Clientes - Herencia/Clientes - Herencia/Program.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Clientes___Herencia +{ + class Program + { + static void Main(string[] args) + { + ClienteVentas cliente = new ClienteVentas(); + + cliente.IdCliente = 39210915; + cliente.Nombre = "Fabián Norberto"; + cliente.Apellido = "Escobar"; + + cliente.RFC = "HEHM"; + cliente.Direccion = "Riglos 6542"; + cliente.Colonia = "Gregorio de Laferrere"; + cliente.Municipio = "La Matanza"; + cliente.EsCredito = true; + + Console.WriteLine("Nuevo Cliente:"); + Console.WriteLine(cliente.Apellido + ", " + cliente.Nombre); + Console.WriteLine(cliente.Direccion + ", " + cliente.Colonia + ", " + cliente.Municipio); + + Console.WriteLine(cliente.RFC); + + if (cliente.EsCredito) + Console.WriteLine("El cliente tiene crédito"); + else + Console.WriteLine("El cliente no tiene crédito"); + + Console.ReadKey(); + } + } +} diff --git a/Clientes - Herencia/Clientes - Herencia/Properties/AssemblyInfo.cs b/Clientes - Herencia/Clientes - Herencia/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..fef69e7 --- /dev/null +++ b/Clientes - Herencia/Clientes - Herencia/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// La información general sobre un ensamblado se controla mediante el siguiente +// conjunto de atributos. Cambie estos atributos para modificar la información +// asociada con un ensamblado. +[assembly: AssemblyTitle("Clientes - Herencia")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Clientes - Herencia")] +[assembly: AssemblyCopyright("Copyright © 2017")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Si establece ComVisible como false, los tipos de este ensamblado no estarán visibles +// para los componentes COM. Si necesita obtener acceso a un tipo de este ensamblado desde +// COM, establezca el atributo ComVisible como true en este tipo. +[assembly: ComVisible(false)] + +// El siguiente GUID sirve como identificador de typelib si este proyecto se expone a COM +[assembly: Guid("258c254f-0b2c-40c9-bdaf-ae81cb56c605")] + +// La información de versión de un ensamblado consta de los cuatro valores siguientes: +// +// Versión principal +// Versión secundaria +// Número de compilación +// Revisión +// +// Puede especificar todos los valores o establecer como predeterminados los números de compilación y de revisión +// mediante el carácter '*', como se muestra a continuación: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Clientes - Herencia/Clientes - Herencia/bin/Debug/Clientes - Herencia.exe b/Clientes - Herencia/Clientes - Herencia/bin/Debug/Clientes - Herencia.exe new file mode 100644 index 0000000..1493951 Binary files /dev/null and b/Clientes - Herencia/Clientes - Herencia/bin/Debug/Clientes - Herencia.exe differ diff --git a/Clientes - Herencia/Clientes - Herencia/bin/Debug/Clientes - Herencia.exe.config b/Clientes - Herencia/Clientes - Herencia/bin/Debug/Clientes - Herencia.exe.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/Clientes - Herencia/Clientes - Herencia/bin/Debug/Clientes - Herencia.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Clientes - Herencia/Clientes - Herencia/bin/Debug/Clientes - Herencia.pdb b/Clientes - Herencia/Clientes - Herencia/bin/Debug/Clientes - Herencia.pdb new file mode 100644 index 0000000..9050733 Binary files /dev/null and b/Clientes - Herencia/Clientes - Herencia/bin/Debug/Clientes - Herencia.pdb differ diff --git a/Clientes - Herencia/Clientes - Herencia/bin/Debug/Clientes - Herencia.vshost.exe b/Clientes - Herencia/Clientes - Herencia/bin/Debug/Clientes - Herencia.vshost.exe new file mode 100644 index 0000000..c0dfecc Binary files /dev/null and b/Clientes - Herencia/Clientes - Herencia/bin/Debug/Clientes - Herencia.vshost.exe differ diff --git a/Clientes - Herencia/Clientes - Herencia/bin/Debug/Clientes - Herencia.vshost.exe.config b/Clientes - Herencia/Clientes - Herencia/bin/Debug/Clientes - Herencia.vshost.exe.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/Clientes - Herencia/Clientes - Herencia/bin/Debug/Clientes - Herencia.vshost.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Clientes - Herencia/Clientes - Herencia/obj/Debug/Clientes - Herencia.csproj.FileListAbsolute.txt b/Clientes - Herencia/Clientes - Herencia/obj/Debug/Clientes - Herencia.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..61fffae --- /dev/null +++ b/Clientes - Herencia/Clientes - Herencia/obj/Debug/Clientes - Herencia.csproj.FileListAbsolute.txt @@ -0,0 +1,6 @@ +I:\UNLaM\DESARROLLO WEB - POLO TECNOLÓGICO\C# - ASP.NET\C# - Aplicaciones de consola\Clientes - Herencia\Clientes - Herencia\bin\Debug\Clientes - Herencia.exe.config +I:\UNLaM\DESARROLLO WEB - POLO TECNOLÓGICO\C# - ASP.NET\C# - Aplicaciones de consola\Clientes - Herencia\Clientes - Herencia\bin\Debug\Clientes - Herencia.exe +I:\UNLaM\DESARROLLO WEB - POLO TECNOLÓGICO\C# - ASP.NET\C# - Aplicaciones de consola\Clientes - Herencia\Clientes - Herencia\bin\Debug\Clientes - Herencia.pdb +I:\UNLaM\DESARROLLO WEB - POLO TECNOLÓGICO\C# - ASP.NET\C# - Aplicaciones de consola\Clientes - Herencia\Clientes - Herencia\obj\Debug\Clientes - Herencia.csprojResolveAssemblyReference.cache +I:\UNLaM\DESARROLLO WEB - POLO TECNOLÓGICO\C# - ASP.NET\C# - Aplicaciones de consola\Clientes - Herencia\Clientes - Herencia\obj\Debug\Clientes - Herencia.exe +I:\UNLaM\DESARROLLO WEB - POLO TECNOLÓGICO\C# - ASP.NET\C# - Aplicaciones de consola\Clientes - Herencia\Clientes - Herencia\obj\Debug\Clientes - Herencia.pdb diff --git a/Clientes - Herencia/Clientes - Herencia/obj/Debug/Clientes - Herencia.csprojResolveAssemblyReference.cache b/Clientes - Herencia/Clientes - Herencia/obj/Debug/Clientes - Herencia.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..27606bb Binary files /dev/null and b/Clientes - Herencia/Clientes - Herencia/obj/Debug/Clientes - Herencia.csprojResolveAssemblyReference.cache differ diff --git a/Clientes - Herencia/Clientes - Herencia/obj/Debug/Clientes - Herencia.exe b/Clientes - Herencia/Clientes - Herencia/obj/Debug/Clientes - Herencia.exe new file mode 100644 index 0000000..1493951 Binary files /dev/null and b/Clientes - Herencia/Clientes - Herencia/obj/Debug/Clientes - Herencia.exe differ diff --git a/Clientes - Herencia/Clientes - Herencia/obj/Debug/Clientes - Herencia.pdb b/Clientes - Herencia/Clientes - Herencia/obj/Debug/Clientes - Herencia.pdb new file mode 100644 index 0000000..9050733 Binary files /dev/null and b/Clientes - Herencia/Clientes - Herencia/obj/Debug/Clientes - Herencia.pdb differ diff --git a/Clientes - Herencia/Clientes - Herencia/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Clientes - Herencia/Clientes - Herencia/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..f69805e Binary files /dev/null and b/Clientes - Herencia/Clientes - Herencia/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Clientes - Herencia/Clientes - Herencia/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/Clientes - Herencia/Clientes - Herencia/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs new file mode 100644 index 0000000..e69de29 diff --git a/Clientes - Herencia/Clientes - Herencia/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/Clientes - Herencia/Clientes - Herencia/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs new file mode 100644 index 0000000..e69de29 diff --git a/Clientes - Herencia/Clientes - Herencia/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/Clientes - Herencia/Clientes - Herencia/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs new file mode 100644 index 0000000..e69de29 diff --git a/Conversiones de tipo/Conversiones de tipo.sln b/Conversiones de tipo/Conversiones de tipo.sln new file mode 100644 index 0000000..5c3359a --- /dev/null +++ b/Conversiones de tipo/Conversiones de tipo.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2013 +VisualStudioVersion = 12.0.21005.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Conversiones de tipo", "Conversiones de tipo\Conversiones de tipo.csproj", "{F7240FA8-D14D-4BBF-B681-3B41A0A6FAE5}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {F7240FA8-D14D-4BBF-B681-3B41A0A6FAE5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F7240FA8-D14D-4BBF-B681-3B41A0A6FAE5}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F7240FA8-D14D-4BBF-B681-3B41A0A6FAE5}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F7240FA8-D14D-4BBF-B681-3B41A0A6FAE5}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Conversiones de tipo/Conversiones de tipo.v12.suo b/Conversiones de tipo/Conversiones de tipo.v12.suo new file mode 100644 index 0000000..cda773d Binary files /dev/null and b/Conversiones de tipo/Conversiones de tipo.v12.suo differ diff --git a/Conversiones de tipo/Conversiones de tipo/App.config b/Conversiones de tipo/Conversiones de tipo/App.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/Conversiones de tipo/Conversiones de tipo/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Conversiones de tipo/Conversiones de tipo/Conversiones de tipo.csproj b/Conversiones de tipo/Conversiones de tipo/Conversiones de tipo.csproj new file mode 100644 index 0000000..04f5db3 --- /dev/null +++ b/Conversiones de tipo/Conversiones de tipo/Conversiones de tipo.csproj @@ -0,0 +1,58 @@ + + + + + Debug + AnyCPU + {F7240FA8-D14D-4BBF-B681-3B41A0A6FAE5} + Exe + Properties + Conversiones_de_tipo + Conversiones de tipo + v4.5 + 512 + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Conversiones de tipo/Conversiones de tipo/Program.cs b/Conversiones de tipo/Conversiones de tipo/Program.cs new file mode 100644 index 0000000..8d830be --- /dev/null +++ b/Conversiones de tipo/Conversiones de tipo/Program.cs @@ -0,0 +1,36 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Conversiones_de_tipo +{ + class Program + { + static void Main(string[] args) + { + int i = 10; + decimal x = 2.2m; + bool bandera = false; + string cadena = string.Empty; + DateTime fecha = DateTime.MinValue; + + x = i; // conversión permitida + + i = (int)x; // conversión permitida + // i = x; no compila + + i = Convert.ToInt32(bandera); // falso será convertidov a 0; verdadero a 1 + + Console.WriteLine("i = " + i); + Console.WriteLine("x = " + x); + Console.WriteLine("bandera = " + bandera.ToString()); + Console.WriteLine("cadena = " + cadena); + Console.WriteLine("fecha = " + fecha.ToShortDateString()); + + + Console.ReadKey(); + } + } +} diff --git a/Conversiones de tipo/Conversiones de tipo/Properties/AssemblyInfo.cs b/Conversiones de tipo/Conversiones de tipo/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..0fcd2bc --- /dev/null +++ b/Conversiones de tipo/Conversiones de tipo/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// La información general sobre un ensamblado se controla mediante el siguiente +// conjunto de atributos. Cambie estos atributos para modificar la información +// asociada con un ensamblado. +[assembly: AssemblyTitle("Conversiones de tipo")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Conversiones de tipo")] +[assembly: AssemblyCopyright("Copyright © 2017")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Si establece ComVisible como false, los tipos de este ensamblado no estarán visibles +// para los componentes COM. Si necesita obtener acceso a un tipo de este ensamblado desde +// COM, establezca el atributo ComVisible como true en este tipo. +[assembly: ComVisible(false)] + +// El siguiente GUID sirve como identificador de typelib si este proyecto se expone a COM +[assembly: Guid("37ea880a-2424-421c-ba50-469033ff1322")] + +// La información de versión de un ensamblado consta de los cuatro valores siguientes: +// +// Versión principal +// Versión secundaria +// Número de compilación +// Revisión +// +// Puede especificar todos los valores o establecer como predeterminados los números de compilación y de revisión +// mediante el carácter '*', como se muestra a continuación: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Conversiones de tipo/Conversiones de tipo/bin/Debug/Conversiones de tipo.exe b/Conversiones de tipo/Conversiones de tipo/bin/Debug/Conversiones de tipo.exe new file mode 100644 index 0000000..25e644f Binary files /dev/null and b/Conversiones de tipo/Conversiones de tipo/bin/Debug/Conversiones de tipo.exe differ diff --git a/Conversiones de tipo/Conversiones de tipo/bin/Debug/Conversiones de tipo.exe.config b/Conversiones de tipo/Conversiones de tipo/bin/Debug/Conversiones de tipo.exe.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/Conversiones de tipo/Conversiones de tipo/bin/Debug/Conversiones de tipo.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Conversiones de tipo/Conversiones de tipo/bin/Debug/Conversiones de tipo.pdb b/Conversiones de tipo/Conversiones de tipo/bin/Debug/Conversiones de tipo.pdb new file mode 100644 index 0000000..eacfecd Binary files /dev/null and b/Conversiones de tipo/Conversiones de tipo/bin/Debug/Conversiones de tipo.pdb differ diff --git a/Conversiones de tipo/Conversiones de tipo/bin/Debug/Conversiones de tipo.vshost.exe b/Conversiones de tipo/Conversiones de tipo/bin/Debug/Conversiones de tipo.vshost.exe new file mode 100644 index 0000000..c0dfecc Binary files /dev/null and b/Conversiones de tipo/Conversiones de tipo/bin/Debug/Conversiones de tipo.vshost.exe differ diff --git a/Conversiones de tipo/Conversiones de tipo/bin/Debug/Conversiones de tipo.vshost.exe.config b/Conversiones de tipo/Conversiones de tipo/bin/Debug/Conversiones de tipo.vshost.exe.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/Conversiones de tipo/Conversiones de tipo/bin/Debug/Conversiones de tipo.vshost.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Conversiones de tipo/Conversiones de tipo/obj/Debug/Conversiones de tipo.csproj.FileListAbsolute.txt b/Conversiones de tipo/Conversiones de tipo/obj/Debug/Conversiones de tipo.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..4c27dd4 --- /dev/null +++ b/Conversiones de tipo/Conversiones de tipo/obj/Debug/Conversiones de tipo.csproj.FileListAbsolute.txt @@ -0,0 +1,6 @@ +I:\UNLaM\DESARROLLO WEB - POLO\C# - ASP.NET\C# - Aplicaciones de consola\Conversiones de tipo\Conversiones de tipo\bin\Debug\Conversiones de tipo.exe.config +I:\UNLaM\DESARROLLO WEB - POLO\C# - ASP.NET\C# - Aplicaciones de consola\Conversiones de tipo\Conversiones de tipo\bin\Debug\Conversiones de tipo.exe +I:\UNLaM\DESARROLLO WEB - POLO\C# - ASP.NET\C# - Aplicaciones de consola\Conversiones de tipo\Conversiones de tipo\bin\Debug\Conversiones de tipo.pdb +I:\UNLaM\DESARROLLO WEB - POLO\C# - ASP.NET\C# - Aplicaciones de consola\Conversiones de tipo\Conversiones de tipo\obj\Debug\Conversiones de tipo.csprojResolveAssemblyReference.cache +I:\UNLaM\DESARROLLO WEB - POLO\C# - ASP.NET\C# - Aplicaciones de consola\Conversiones de tipo\Conversiones de tipo\obj\Debug\Conversiones de tipo.exe +I:\UNLaM\DESARROLLO WEB - POLO\C# - ASP.NET\C# - Aplicaciones de consola\Conversiones de tipo\Conversiones de tipo\obj\Debug\Conversiones de tipo.pdb diff --git a/Conversiones de tipo/Conversiones de tipo/obj/Debug/Conversiones de tipo.csprojResolveAssemblyReference.cache b/Conversiones de tipo/Conversiones de tipo/obj/Debug/Conversiones de tipo.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..27606bb Binary files /dev/null and b/Conversiones de tipo/Conversiones de tipo/obj/Debug/Conversiones de tipo.csprojResolveAssemblyReference.cache differ diff --git a/Conversiones de tipo/Conversiones de tipo/obj/Debug/Conversiones de tipo.exe b/Conversiones de tipo/Conversiones de tipo/obj/Debug/Conversiones de tipo.exe new file mode 100644 index 0000000..25e644f Binary files /dev/null and b/Conversiones de tipo/Conversiones de tipo/obj/Debug/Conversiones de tipo.exe differ diff --git a/Conversiones de tipo/Conversiones de tipo/obj/Debug/Conversiones de tipo.pdb b/Conversiones de tipo/Conversiones de tipo/obj/Debug/Conversiones de tipo.pdb new file mode 100644 index 0000000..eacfecd Binary files /dev/null and b/Conversiones de tipo/Conversiones de tipo/obj/Debug/Conversiones de tipo.pdb differ diff --git a/Conversiones de tipo/Conversiones de tipo/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Conversiones de tipo/Conversiones de tipo/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..be75e29 Binary files /dev/null and b/Conversiones de tipo/Conversiones de tipo/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Conversiones de tipo/Conversiones de tipo/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/Conversiones de tipo/Conversiones de tipo/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs new file mode 100644 index 0000000..e69de29 diff --git a/Conversiones de tipo/Conversiones de tipo/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/Conversiones de tipo/Conversiones de tipo/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs new file mode 100644 index 0000000..e69de29 diff --git a/Conversiones de tipo/Conversiones de tipo/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/Conversiones de tipo/Conversiones de tipo/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs new file mode 100644 index 0000000..e69de29 diff --git a/Empleados/Empleados.sln b/Empleados/Empleados.sln new file mode 100644 index 0000000..c21cf1e --- /dev/null +++ b/Empleados/Empleados.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2013 +VisualStudioVersion = 12.0.21005.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Empleados", "Empleados\Empleados.csproj", "{7D11D5EE-D99C-44A5-96CB-8A6B2B182615}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {7D11D5EE-D99C-44A5-96CB-8A6B2B182615}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7D11D5EE-D99C-44A5-96CB-8A6B2B182615}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7D11D5EE-D99C-44A5-96CB-8A6B2B182615}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7D11D5EE-D99C-44A5-96CB-8A6B2B182615}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Empleados/Empleados.v12.suo b/Empleados/Empleados.v12.suo new file mode 100644 index 0000000..3d677b1 Binary files /dev/null and b/Empleados/Empleados.v12.suo differ diff --git a/Empleados/Empleados/App.config b/Empleados/Empleados/App.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/Empleados/Empleados/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Empleados/Empleados/Empleado.cs b/Empleados/Empleados/Empleado.cs new file mode 100644 index 0000000..17cc460 --- /dev/null +++ b/Empleados/Empleados/Empleado.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Empleados +{ + class Empleado + { + private string _nombre; + private decimal _sueldoDiario; + private int _edad; + + public string Nombre + { + get { return _nombre; } + set { _nombre = value; } + } + + public decimal SueldoDiario + { + get { return _sueldoDiario; } + set { _sueldoDiario = value; } + } + + public int Edad + { + get { return _edad; } + set { _edad = value; } + } + + public Empleado() + { + _nombre = string.Empty; + _sueldoDiario = 0.0m; + _edad = 0; + } + + public decimal CalcularSueldo(int NumeroDias) + { + return _sueldoDiario * NumeroDias; + } + } +} diff --git a/Empleados/Empleados/Empleados.csproj b/Empleados/Empleados/Empleados.csproj new file mode 100644 index 0000000..017a568 --- /dev/null +++ b/Empleados/Empleados/Empleados.csproj @@ -0,0 +1,59 @@ + + + + + Debug + AnyCPU + {7D11D5EE-D99C-44A5-96CB-8A6B2B182615} + Exe + Properties + Empleados + Empleados + v4.5 + 512 + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Empleados/Empleados/Program.cs b/Empleados/Empleados/Program.cs new file mode 100644 index 0000000..85b589a --- /dev/null +++ b/Empleados/Empleados/Program.cs @@ -0,0 +1,26 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Empleados +{ + class Program + { + static void Main(string[] args) + { + Empleado empleado = new Empleado(); + + empleado.Nombre = "Hernán Fernández"; + empleado.SueldoDiario = 250.00m; + empleado.Edad = 25; + + decimal total = empleado.CalcularSueldo(30); + + Console.WriteLine("El sueldo mensual del empleado " + empleado.Nombre + "es $" + total); + + Console.ReadKey(); + } + } +} diff --git a/Empleados/Empleados/Properties/AssemblyInfo.cs b/Empleados/Empleados/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..db7dad8 --- /dev/null +++ b/Empleados/Empleados/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// La información general sobre un ensamblado se controla mediante el siguiente +// conjunto de atributos. Cambie estos atributos para modificar la información +// asociada con un ensamblado. +[assembly: AssemblyTitle("Empleados")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Empleados")] +[assembly: AssemblyCopyright("Copyright © 2017")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Si establece ComVisible como false, los tipos de este ensamblado no estarán visibles +// para los componentes COM. Si necesita obtener acceso a un tipo de este ensamblado desde +// COM, establezca el atributo ComVisible como true en este tipo. +[assembly: ComVisible(false)] + +// El siguiente GUID sirve como identificador de typelib si este proyecto se expone a COM +[assembly: Guid("1dcf39f8-4a4f-4910-beab-c32d5d66293c")] + +// La información de versión de un ensamblado consta de los cuatro valores siguientes: +// +// Versión principal +// Versión secundaria +// Número de compilación +// Revisión +// +// Puede especificar todos los valores o establecer como predeterminados los números de compilación y de revisión +// mediante el carácter '*', como se muestra a continuación: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Empleados/Empleados/bin/Debug/Empleados.exe b/Empleados/Empleados/bin/Debug/Empleados.exe new file mode 100644 index 0000000..ce5a3a6 Binary files /dev/null and b/Empleados/Empleados/bin/Debug/Empleados.exe differ diff --git a/Empleados/Empleados/bin/Debug/Empleados.exe.config b/Empleados/Empleados/bin/Debug/Empleados.exe.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/Empleados/Empleados/bin/Debug/Empleados.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Empleados/Empleados/bin/Debug/Empleados.pdb b/Empleados/Empleados/bin/Debug/Empleados.pdb new file mode 100644 index 0000000..ac363b2 Binary files /dev/null and b/Empleados/Empleados/bin/Debug/Empleados.pdb differ diff --git a/Empleados/Empleados/bin/Debug/Empleados.vshost.exe b/Empleados/Empleados/bin/Debug/Empleados.vshost.exe new file mode 100644 index 0000000..c0dfecc Binary files /dev/null and b/Empleados/Empleados/bin/Debug/Empleados.vshost.exe differ diff --git a/Empleados/Empleados/bin/Debug/Empleados.vshost.exe.config b/Empleados/Empleados/bin/Debug/Empleados.vshost.exe.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/Empleados/Empleados/bin/Debug/Empleados.vshost.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Empleados/Empleados/bin/Debug/Empleados.vshost.exe.manifest b/Empleados/Empleados/bin/Debug/Empleados.vshost.exe.manifest new file mode 100644 index 0000000..061c9ca --- /dev/null +++ b/Empleados/Empleados/bin/Debug/Empleados.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/Empleados/Empleados/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Empleados/Empleados/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..4ea74f0 Binary files /dev/null and b/Empleados/Empleados/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Empleados/Empleados/obj/Debug/Empleados.csproj.FileListAbsolute.txt b/Empleados/Empleados/obj/Debug/Empleados.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..a499ed9 --- /dev/null +++ b/Empleados/Empleados/obj/Debug/Empleados.csproj.FileListAbsolute.txt @@ -0,0 +1,6 @@ +I:\UNLaM\DESARROLLO WEB - POLO TECNOLÓGICO\C# - ASP.NET\C# - Aplicaciones de consola\Empleados\Empleados\bin\Debug\Empleados.exe.config +I:\UNLaM\DESARROLLO WEB - POLO TECNOLÓGICO\C# - ASP.NET\C# - Aplicaciones de consola\Empleados\Empleados\bin\Debug\Empleados.exe +I:\UNLaM\DESARROLLO WEB - POLO TECNOLÓGICO\C# - ASP.NET\C# - Aplicaciones de consola\Empleados\Empleados\bin\Debug\Empleados.pdb +I:\UNLaM\DESARROLLO WEB - POLO TECNOLÓGICO\C# - ASP.NET\C# - Aplicaciones de consola\Empleados\Empleados\obj\Debug\Empleados.csprojResolveAssemblyReference.cache +I:\UNLaM\DESARROLLO WEB - POLO TECNOLÓGICO\C# - ASP.NET\C# - Aplicaciones de consola\Empleados\Empleados\obj\Debug\Empleados.exe +I:\UNLaM\DESARROLLO WEB - POLO TECNOLÓGICO\C# - ASP.NET\C# - Aplicaciones de consola\Empleados\Empleados\obj\Debug\Empleados.pdb diff --git a/Empleados/Empleados/obj/Debug/Empleados.csprojResolveAssemblyReference.cache b/Empleados/Empleados/obj/Debug/Empleados.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..27606bb Binary files /dev/null and b/Empleados/Empleados/obj/Debug/Empleados.csprojResolveAssemblyReference.cache differ diff --git a/Empleados/Empleados/obj/Debug/Empleados.exe b/Empleados/Empleados/obj/Debug/Empleados.exe new file mode 100644 index 0000000..ce5a3a6 Binary files /dev/null and b/Empleados/Empleados/obj/Debug/Empleados.exe differ diff --git a/Empleados/Empleados/obj/Debug/Empleados.pdb b/Empleados/Empleados/obj/Debug/Empleados.pdb new file mode 100644 index 0000000..ac363b2 Binary files /dev/null and b/Empleados/Empleados/obj/Debug/Empleados.pdb differ diff --git a/Empleados/Empleados/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/Empleados/Empleados/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs new file mode 100644 index 0000000..e69de29 diff --git a/Empleados/Empleados/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/Empleados/Empleados/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs new file mode 100644 index 0000000..e69de29 diff --git a/Empleados/Empleados/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/Empleados/Empleados/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs new file mode 100644 index 0000000..e69de29 diff --git a/Generics/Generics.sln b/Generics/Generics.sln new file mode 100644 index 0000000..9bd0927 --- /dev/null +++ b/Generics/Generics.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2013 +VisualStudioVersion = 12.0.21005.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Generics", "Generics\Generics.csproj", "{2C199FF8-4667-4DE7-ADAD-B83B6E879AA8}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {2C199FF8-4667-4DE7-ADAD-B83B6E879AA8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2C199FF8-4667-4DE7-ADAD-B83B6E879AA8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2C199FF8-4667-4DE7-ADAD-B83B6E879AA8}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2C199FF8-4667-4DE7-ADAD-B83B6E879AA8}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Generics/Generics.v12.suo b/Generics/Generics.v12.suo new file mode 100644 index 0000000..72f5027 Binary files /dev/null and b/Generics/Generics.v12.suo differ diff --git a/Generics/Generics/App.config b/Generics/Generics/App.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/Generics/Generics/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Generics/Generics/ClienteAbstracta.cs b/Generics/Generics/ClienteAbstracta.cs new file mode 100644 index 0000000..c0cbb0d --- /dev/null +++ b/Generics/Generics/ClienteAbstracta.cs @@ -0,0 +1,25 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Generics +{ + public abstract class ClienteAbstracta + { + public abstract int IdCliente { get; set; } + + public abstract string Nombre { get; set; } + + public abstract string Clave { get; set; } + + public abstract string RFC { get; set; } + + public abstract int TipoRegimen { get; set; } + + public abstract string NombreContacto { get; set; } + + // las clases que hereden de la clase abstracta deben implementar todos los miembros abstractos + } +} diff --git a/Generics/Generics/ClienteBase.cs b/Generics/Generics/ClienteBase.cs new file mode 100644 index 0000000..7d0fe35 --- /dev/null +++ b/Generics/Generics/ClienteBase.cs @@ -0,0 +1,43 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Generics +{ + public class ClienteBase : ClienteAbstracta + { + public override int IdCliente { get; set; } + + public override string Nombre { get; set; } + + public override string Clave { get; set; } + + public override string RFC { get; set; } + + public override int TipoRegimen { get; set; } + + public override string NombreContacto { get; set; } + + public ClienteBase() + { + IdCliente = 0; + Nombre = string.Empty; + Clave = string.Empty; + RFC = string.Empty; + TipoRegimen = 0; + NombreContacto = string.Empty; + } + + public ClienteBase(int IdCliente, string Nombre, string Clave, string RFC, int TipoRegimen, string NombreContacto) + { + this.IdCliente = IdCliente; + this.Nombre = Nombre; + this.Clave = Clave; + this.RFC = RFC; + this.TipoRegimen = TipoRegimen; + this.NombreContacto = NombreContacto; + } + } +} diff --git a/Generics/Generics/ClienteConContacto.cs b/Generics/Generics/ClienteConContacto.cs new file mode 100644 index 0000000..084b3a2 --- /dev/null +++ b/Generics/Generics/ClienteConContacto.cs @@ -0,0 +1,55 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Generics +{ + public class ClienteConContacto : ClienteBase + { + public string Telefono1 { get; set; } + + public string Telefono2 { get; set; } + + public string Email { get; set; } + + private Direcciones _direccion; + + public Direcciones Direccion + { + get { return _direccion; } + set { _direccion = value; } + } + + public ClienteConContacto() + { + _direccion = new Direcciones(); + } + + public ClienteConContacto(int IdCliente, string Nombre, string Clave, string RFC, + int TipoRegimen, string NombreContacto, string Telefono1, + string Telefono2, string Email, string Calle, + string NumeroExterior, string Numerointerior, + string Colonia, string Municipio, string Estado, string CP) : this() + { + this.IdCliente = IdCliente; + this.Nombre = Nombre; + this.Clave = Clave; + this.RFC = RFC; + this.TipoRegimen = TipoRegimen; + this.NombreContacto = NombreContacto; + this.Telefono1 = Telefono1; + this.Telefono2 = Telefono2; + this.Email = Email; + + Direccion.Calle = Calle; + Direccion.NumeroExterior = NumeroExterior; + Direccion.NumeroInterior = Numerointerior; + Direccion.Colonia = Colonia; + Direccion.Municipio = Municipio; + Direccion.Estado = Estado; + Direccion.CP = CP; + } + } +} diff --git a/Generics/Generics/Direcciones.cs b/Generics/Generics/Direcciones.cs new file mode 100644 index 0000000..281e416 --- /dev/null +++ b/Generics/Generics/Direcciones.cs @@ -0,0 +1,36 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Generics +{ + public class Direcciones + { + public string Calle { get; set; } + + public string NumeroExterior { get; set; } + + public string NumeroInterior { get; set; } + + public string Colonia { get; set; } + + public string Municipio { get; set; } + + public string Estado { get; set; } + + public string CP { get; set; } + + public Direcciones() + { + Calle = string.Empty; + NumeroExterior = string.Empty; + NumeroInterior = string.Empty; + Colonia = string.Empty; + Municipio = string.Empty; + Estado = string.Empty; + CP = string.Empty; + } + } +} diff --git a/Generics/Generics/Generics.csproj b/Generics/Generics/Generics.csproj new file mode 100644 index 0000000..27d9488 --- /dev/null +++ b/Generics/Generics/Generics.csproj @@ -0,0 +1,62 @@ + + + + + Debug + AnyCPU + {2C199FF8-4667-4DE7-ADAD-B83B6E879AA8} + Exe + Properties + Generics + Generics + v4.5 + 512 + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Generics/Generics/Program.cs b/Generics/Generics/Program.cs new file mode 100644 index 0000000..769aeb7 --- /dev/null +++ b/Generics/Generics/Program.cs @@ -0,0 +1,102 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Generics +{ + class Program + { + static void Main(string[] args) + { + string opcion; + + List clientes; + clientes = new List(); + + do + { + Console.WriteLine("\n Opciones:"); + Console.WriteLine(); + + Console.WriteLine("a - Agregar a la lista"); + Console.WriteLine("b - Quitar de la lista"); + Console.WriteLine("c - Mostrar la lista"); + + Console.WriteLine(); + Console.WriteLine("s - Salir"); + + Console.Write("\n\n Opción: "); + opcion = Console.ReadLine(); + + Console.WriteLine(); + + if(opcion.Equals("a")) + { + Console.WriteLine("Ingrese nombre de cliente a agregar:"); + string cadena = Console.ReadLine(); + + ClienteBase cliente = new ClienteBase(); + + if (!clientes.Exists(c => c.Nombre.Equals(cadena))) + { + cliente.Nombre = cadena; + + Random rand = new Random(); + cliente.IdCliente = rand.Next(100000000); + + clientes.Add(cliente); + + Console.WriteLine("El cliente ha sido agregado exitosamente"); + } + else + Console.WriteLine("El cliente ya se encontraba en la lista"); + } + else if(opcion.Equals("b")) + { + if (!clientes.Count.Equals(0)) + { + Console.WriteLine("Ingrese nombre de cliente a quitar:"); + + string cadena = Console.ReadLine(); + + if (clientes.Exists(cliente => cliente.Nombre.Equals(cadena))) + { + clientes.RemoveAll(cliente => cliente.Nombre.Equals(cadena)); + Console.WriteLine("El cliente fue quitado exitosamente"); + } + else + Console.WriteLine("El cliente no fue encontrado en la lista"); + + } + else + Console.WriteLine("No puede quitar clientes de la lista porque la lista está vacía"); + + } + else if(opcion.Equals("c")) + { + if (!clientes.Count.Equals(0)) + { + Console.WriteLine("Lista de Clientes"); + + foreach (ClienteBase cliente in clientes) + { + Console.WriteLine("\n Cliente:"); + Console.WriteLine("Id: " + cliente.IdCliente.ToString() + " Nombre: " + cliente.Nombre); + } + } + else + Console.WriteLine("La lista de clientes se encuentra VACÍA"); + } + + Console.ReadKey(); + Console.Clear(); + + } while (!opcion.Equals("s")); + + Console.WriteLine("Programa terminado"); + Console.ReadKey(); + } + } +} diff --git a/Generics/Generics/Properties/AssemblyInfo.cs b/Generics/Generics/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..ce9185f --- /dev/null +++ b/Generics/Generics/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// La información general sobre un ensamblado se controla mediante el siguiente +// conjunto de atributos. Cambie estos atributos para modificar la información +// asociada con un ensamblado. +[assembly: AssemblyTitle("Generics")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Generics")] +[assembly: AssemblyCopyright("Copyright © 2017")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Si establece ComVisible como false, los tipos de este ensamblado no estarán visibles +// para los componentes COM. Si necesita obtener acceso a un tipo de este ensamblado desde +// COM, establezca el atributo ComVisible como true en este tipo. +[assembly: ComVisible(false)] + +// El siguiente GUID sirve como identificador de typelib si este proyecto se expone a COM +[assembly: Guid("faf75fc2-c7ff-4da2-84e5-b25475c77370")] + +// La información de versión de un ensamblado consta de los cuatro valores siguientes: +// +// Versión principal +// Versión secundaria +// Número de compilación +// Revisión +// +// Puede especificar todos los valores o establecer como predeterminados los números de compilación y de revisión +// mediante el carácter '*', como se muestra a continuación: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Generics/Generics/bin/Debug/Generics.exe b/Generics/Generics/bin/Debug/Generics.exe new file mode 100644 index 0000000..52c3a8c Binary files /dev/null and b/Generics/Generics/bin/Debug/Generics.exe differ diff --git a/Generics/Generics/bin/Debug/Generics.exe.config b/Generics/Generics/bin/Debug/Generics.exe.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/Generics/Generics/bin/Debug/Generics.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Generics/Generics/bin/Debug/Generics.pdb b/Generics/Generics/bin/Debug/Generics.pdb new file mode 100644 index 0000000..18b700f Binary files /dev/null and b/Generics/Generics/bin/Debug/Generics.pdb differ diff --git a/Generics/Generics/bin/Debug/Generics.vshost.exe b/Generics/Generics/bin/Debug/Generics.vshost.exe new file mode 100644 index 0000000..c0dfecc Binary files /dev/null and b/Generics/Generics/bin/Debug/Generics.vshost.exe differ diff --git a/Generics/Generics/bin/Debug/Generics.vshost.exe.config b/Generics/Generics/bin/Debug/Generics.vshost.exe.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/Generics/Generics/bin/Debug/Generics.vshost.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Generics/Generics/bin/Debug/Generics.vshost.exe.manifest b/Generics/Generics/bin/Debug/Generics.vshost.exe.manifest new file mode 100644 index 0000000..061c9ca --- /dev/null +++ b/Generics/Generics/bin/Debug/Generics.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/Generics/Generics/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Generics/Generics/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..404c7b3 Binary files /dev/null and b/Generics/Generics/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Generics/Generics/obj/Debug/Generics.csproj.FileListAbsolute.txt b/Generics/Generics/obj/Debug/Generics.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..1a25c5b --- /dev/null +++ b/Generics/Generics/obj/Debug/Generics.csproj.FileListAbsolute.txt @@ -0,0 +1,6 @@ +I:\UNLaM\DESARROLLO WEB - POLO TECNOLÓGICO\C# - ASP.NET\C# - Aplicaciones de consola\Generics\Generics\bin\Debug\Generics.exe.config +I:\UNLaM\DESARROLLO WEB - POLO TECNOLÓGICO\C# - ASP.NET\C# - Aplicaciones de consola\Generics\Generics\bin\Debug\Generics.exe +I:\UNLaM\DESARROLLO WEB - POLO TECNOLÓGICO\C# - ASP.NET\C# - Aplicaciones de consola\Generics\Generics\bin\Debug\Generics.pdb +I:\UNLaM\DESARROLLO WEB - POLO TECNOLÓGICO\C# - ASP.NET\C# - Aplicaciones de consola\Generics\Generics\obj\Debug\Generics.exe +I:\UNLaM\DESARROLLO WEB - POLO TECNOLÓGICO\C# - ASP.NET\C# - Aplicaciones de consola\Generics\Generics\obj\Debug\Generics.pdb +I:\UNLaM\DESARROLLO WEB - POLO TECNOLÓGICO\C# - ASP.NET\C# - Aplicaciones de consola\Generics\Generics\obj\Debug\Generics.csprojResolveAssemblyReference.cache diff --git a/Generics/Generics/obj/Debug/Generics.csprojResolveAssemblyReference.cache b/Generics/Generics/obj/Debug/Generics.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..27606bb Binary files /dev/null and b/Generics/Generics/obj/Debug/Generics.csprojResolveAssemblyReference.cache differ diff --git a/Generics/Generics/obj/Debug/Generics.exe b/Generics/Generics/obj/Debug/Generics.exe new file mode 100644 index 0000000..52c3a8c Binary files /dev/null and b/Generics/Generics/obj/Debug/Generics.exe differ diff --git a/Generics/Generics/obj/Debug/Generics.pdb b/Generics/Generics/obj/Debug/Generics.pdb new file mode 100644 index 0000000..18b700f Binary files /dev/null and b/Generics/Generics/obj/Debug/Generics.pdb differ diff --git a/Generics/Generics/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/Generics/Generics/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs new file mode 100644 index 0000000..e69de29 diff --git a/Generics/Generics/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/Generics/Generics/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs new file mode 100644 index 0000000..e69de29 diff --git a/Generics/Generics/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/Generics/Generics/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs new file mode 100644 index 0000000..e69de29 diff --git a/Hola Mundo/Hola Mundo.sln b/Hola Mundo/Hola Mundo.sln new file mode 100644 index 0000000..cb3a44e --- /dev/null +++ b/Hola Mundo/Hola Mundo.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2013 +VisualStudioVersion = 12.0.21005.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Hola Mundo", "Hola Mundo\Hola Mundo.csproj", "{348590EE-423D-4342-A969-13355A37CDBC}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {348590EE-423D-4342-A969-13355A37CDBC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {348590EE-423D-4342-A969-13355A37CDBC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {348590EE-423D-4342-A969-13355A37CDBC}.Release|Any CPU.ActiveCfg = Release|Any CPU + {348590EE-423D-4342-A969-13355A37CDBC}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Hola Mundo/Hola Mundo.v12.suo b/Hola Mundo/Hola Mundo.v12.suo new file mode 100644 index 0000000..f2221ea Binary files /dev/null and b/Hola Mundo/Hola Mundo.v12.suo differ diff --git a/Hola Mundo/Hola Mundo/App.config b/Hola Mundo/Hola Mundo/App.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/Hola Mundo/Hola Mundo/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Hola Mundo/Hola Mundo/Hola Mundo.csproj b/Hola Mundo/Hola Mundo/Hola Mundo.csproj new file mode 100644 index 0000000..a5743c7 --- /dev/null +++ b/Hola Mundo/Hola Mundo/Hola Mundo.csproj @@ -0,0 +1,58 @@ + + + + + Debug + AnyCPU + {348590EE-423D-4342-A969-13355A37CDBC} + Exe + Properties + Hola_Mundo + Hola Mundo + v4.5 + 512 + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Hola Mundo/Hola Mundo/HolaMundo.cs b/Hola Mundo/Hola Mundo/HolaMundo.cs new file mode 100644 index 0000000..7e0bc57 --- /dev/null +++ b/Hola Mundo/Hola Mundo/HolaMundo.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Hola_Mundo +{ + class HolaMundo + { + static void Main(string[] args) + { + Console.WriteLine("Hola Mundo"); + Console.ReadLine(); + } + } +} diff --git a/Hola Mundo/Hola Mundo/Properties/AssemblyInfo.cs b/Hola Mundo/Hola Mundo/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..cb9a6ef --- /dev/null +++ b/Hola Mundo/Hola Mundo/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// La información general sobre un ensamblado se controla mediante el siguiente +// conjunto de atributos. Cambie estos atributos para modificar la información +// asociada con un ensamblado. +[assembly: AssemblyTitle("Hola Mundo")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Hola Mundo")] +[assembly: AssemblyCopyright("Copyright © 2017")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Si establece ComVisible como false, los tipos de este ensamblado no estarán visibles +// para los componentes COM. Si necesita obtener acceso a un tipo de este ensamblado desde +// COM, establezca el atributo ComVisible como true en este tipo. +[assembly: ComVisible(false)] + +// El siguiente GUID sirve como identificador de typelib si este proyecto se expone a COM +[assembly: Guid("c15903d3-5f52-456b-833a-965c1f4999d0")] + +// La información de versión de un ensamblado consta de los cuatro valores siguientes: +// +// Versión principal +// Versión secundaria +// Número de compilación +// Revisión +// +// Puede especificar todos los valores o establecer como predeterminados los números de compilación y de revisión +// mediante el carácter '*', como se muestra a continuación: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Hola Mundo/Hola Mundo/bin/Debug/Hola Mundo.exe b/Hola Mundo/Hola Mundo/bin/Debug/Hola Mundo.exe new file mode 100644 index 0000000..ed4f67b Binary files /dev/null and b/Hola Mundo/Hola Mundo/bin/Debug/Hola Mundo.exe differ diff --git a/Hola Mundo/Hola Mundo/bin/Debug/Hola Mundo.exe.config b/Hola Mundo/Hola Mundo/bin/Debug/Hola Mundo.exe.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/Hola Mundo/Hola Mundo/bin/Debug/Hola Mundo.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Hola Mundo/Hola Mundo/bin/Debug/Hola Mundo.pdb b/Hola Mundo/Hola Mundo/bin/Debug/Hola Mundo.pdb new file mode 100644 index 0000000..f9461b8 Binary files /dev/null and b/Hola Mundo/Hola Mundo/bin/Debug/Hola Mundo.pdb differ diff --git a/Hola Mundo/Hola Mundo/bin/Debug/Hola Mundo.vshost.exe b/Hola Mundo/Hola Mundo/bin/Debug/Hola Mundo.vshost.exe new file mode 100644 index 0000000..c0dfecc Binary files /dev/null and b/Hola Mundo/Hola Mundo/bin/Debug/Hola Mundo.vshost.exe differ diff --git a/Hola Mundo/Hola Mundo/bin/Debug/Hola Mundo.vshost.exe.config b/Hola Mundo/Hola Mundo/bin/Debug/Hola Mundo.vshost.exe.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/Hola Mundo/Hola Mundo/bin/Debug/Hola Mundo.vshost.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Hola Mundo/Hola Mundo/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Hola Mundo/Hola Mundo/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..4ca2d27 Binary files /dev/null and b/Hola Mundo/Hola Mundo/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Hola Mundo/Hola Mundo/obj/Debug/Hola Mundo.csproj.FileListAbsolute.txt b/Hola Mundo/Hola Mundo/obj/Debug/Hola Mundo.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..f0c5560 --- /dev/null +++ b/Hola Mundo/Hola Mundo/obj/Debug/Hola Mundo.csproj.FileListAbsolute.txt @@ -0,0 +1,6 @@ +C:\FABIAN\Desarrollo Web en .NET\Hola Mundo\Hola Mundo\bin\Debug\Hola Mundo.exe.config +C:\FABIAN\Desarrollo Web en .NET\Hola Mundo\Hola Mundo\bin\Debug\Hola Mundo.exe +C:\FABIAN\Desarrollo Web en .NET\Hola Mundo\Hola Mundo\bin\Debug\Hola Mundo.pdb +C:\FABIAN\Desarrollo Web en .NET\Hola Mundo\Hola Mundo\obj\Debug\Hola Mundo.csprojResolveAssemblyReference.cache +C:\FABIAN\Desarrollo Web en .NET\Hola Mundo\Hola Mundo\obj\Debug\Hola Mundo.exe +C:\FABIAN\Desarrollo Web en .NET\Hola Mundo\Hola Mundo\obj\Debug\Hola Mundo.pdb diff --git a/Hola Mundo/Hola Mundo/obj/Debug/Hola Mundo.csprojResolveAssemblyReference.cache b/Hola Mundo/Hola Mundo/obj/Debug/Hola Mundo.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..27606bb Binary files /dev/null and b/Hola Mundo/Hola Mundo/obj/Debug/Hola Mundo.csprojResolveAssemblyReference.cache differ diff --git a/Hola Mundo/Hola Mundo/obj/Debug/Hola Mundo.exe b/Hola Mundo/Hola Mundo/obj/Debug/Hola Mundo.exe new file mode 100644 index 0000000..ed4f67b Binary files /dev/null and b/Hola Mundo/Hola Mundo/obj/Debug/Hola Mundo.exe differ diff --git a/Hola Mundo/Hola Mundo/obj/Debug/Hola Mundo.pdb b/Hola Mundo/Hola Mundo/obj/Debug/Hola Mundo.pdb new file mode 100644 index 0000000..f9461b8 Binary files /dev/null and b/Hola Mundo/Hola Mundo/obj/Debug/Hola Mundo.pdb differ diff --git a/Hola Mundo/Hola Mundo/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/Hola Mundo/Hola Mundo/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs new file mode 100644 index 0000000..e69de29 diff --git a/Hola Mundo/Hola Mundo/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/Hola Mundo/Hola Mundo/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs new file mode 100644 index 0000000..e69de29 diff --git a/Hola Mundo/Hola Mundo/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/Hola Mundo/Hola Mundo/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs new file mode 100644 index 0000000..e69de29 diff --git a/Matrices/Matrices.sln b/Matrices/Matrices.sln new file mode 100644 index 0000000..9839242 --- /dev/null +++ b/Matrices/Matrices.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2013 +VisualStudioVersion = 12.0.21005.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Matrices", "Matrices\Matrices.csproj", "{A3FDAA2B-A17F-4668-B1DB-96E9E3FAA25A}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {A3FDAA2B-A17F-4668-B1DB-96E9E3FAA25A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A3FDAA2B-A17F-4668-B1DB-96E9E3FAA25A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A3FDAA2B-A17F-4668-B1DB-96E9E3FAA25A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A3FDAA2B-A17F-4668-B1DB-96E9E3FAA25A}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Matrices/Matrices.v12.suo b/Matrices/Matrices.v12.suo new file mode 100644 index 0000000..59cf51f Binary files /dev/null and b/Matrices/Matrices.v12.suo differ diff --git a/Matrices/Matrices/App.config b/Matrices/Matrices/App.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/Matrices/Matrices/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Matrices/Matrices/Matrices.csproj b/Matrices/Matrices/Matrices.csproj new file mode 100644 index 0000000..68586a4 --- /dev/null +++ b/Matrices/Matrices/Matrices.csproj @@ -0,0 +1,59 @@ + + + + + Debug + AnyCPU + {A3FDAA2B-A17F-4668-B1DB-96E9E3FAA25A} + Exe + Properties + Matrices + Matrices + v4.5 + 512 + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Matrices/Matrices/Matriz.cs b/Matrices/Matrices/Matriz.cs new file mode 100644 index 0000000..c11e9a8 --- /dev/null +++ b/Matrices/Matrices/Matriz.cs @@ -0,0 +1,41 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Matrices +{ + public class Matriz + { + private int[,] matriz; + + public Matriz() + { + matriz = new int[4, 2]; + } + + public void InicializarMatriz() + { + for (int i = 0; i < 4; i++) + { + for (int j = 0; j < 2; j++) + { + matriz[i, j] = 0; + } + } + } + + public void ImprimirMatriz() + { + for (int i = 0; i < 4; i++) + { + for (int j = 0; j < 2; j++) + { + Console.Write(matriz[i,j]); + } + Console.WriteLine(); + } + } + } +} diff --git a/Matrices/Matrices/Program.cs b/Matrices/Matrices/Program.cs new file mode 100644 index 0000000..62eeab1 --- /dev/null +++ b/Matrices/Matrices/Program.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Matrices +{ + class Program + { + static void Main(string[] args) + { + Matriz MiMatriz = new Matriz(); + MiMatriz.InicializarMatriz(); + + Console.WriteLine("MATRIZ"); + MiMatriz.ImprimirMatriz(); + + Console.ReadKey(); + } + } +} diff --git a/Matrices/Matrices/Properties/AssemblyInfo.cs b/Matrices/Matrices/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..0328931 --- /dev/null +++ b/Matrices/Matrices/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// La información general sobre un ensamblado se controla mediante el siguiente +// conjunto de atributos. Cambie estos atributos para modificar la información +// asociada con un ensamblado. +[assembly: AssemblyTitle("Matrices")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Matrices")] +[assembly: AssemblyCopyright("Copyright © 2017")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Si establece ComVisible como false, los tipos de este ensamblado no estarán visibles +// para los componentes COM. Si necesita obtener acceso a un tipo de este ensamblado desde +// COM, establezca el atributo ComVisible como true en este tipo. +[assembly: ComVisible(false)] + +// El siguiente GUID sirve como identificador de typelib si este proyecto se expone a COM +[assembly: Guid("f9f1427a-e042-44df-98cd-398e10be3e1a")] + +// La información de versión de un ensamblado consta de los cuatro valores siguientes: +// +// Versión principal +// Versión secundaria +// Número de compilación +// Revisión +// +// Puede especificar todos los valores o establecer como predeterminados los números de compilación y de revisión +// mediante el carácter '*', como se muestra a continuación: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Matrices/Matrices/bin/Debug/Matrices.exe b/Matrices/Matrices/bin/Debug/Matrices.exe new file mode 100644 index 0000000..be0ca5f Binary files /dev/null and b/Matrices/Matrices/bin/Debug/Matrices.exe differ diff --git a/Matrices/Matrices/bin/Debug/Matrices.exe.config b/Matrices/Matrices/bin/Debug/Matrices.exe.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/Matrices/Matrices/bin/Debug/Matrices.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Matrices/Matrices/bin/Debug/Matrices.pdb b/Matrices/Matrices/bin/Debug/Matrices.pdb new file mode 100644 index 0000000..1784fd0 Binary files /dev/null and b/Matrices/Matrices/bin/Debug/Matrices.pdb differ diff --git a/Matrices/Matrices/bin/Debug/Matrices.vshost.exe b/Matrices/Matrices/bin/Debug/Matrices.vshost.exe new file mode 100644 index 0000000..c0dfecc Binary files /dev/null and b/Matrices/Matrices/bin/Debug/Matrices.vshost.exe differ diff --git a/Matrices/Matrices/bin/Debug/Matrices.vshost.exe.config b/Matrices/Matrices/bin/Debug/Matrices.vshost.exe.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/Matrices/Matrices/bin/Debug/Matrices.vshost.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Matrices/Matrices/bin/Debug/Matrices.vshost.exe.manifest b/Matrices/Matrices/bin/Debug/Matrices.vshost.exe.manifest new file mode 100644 index 0000000..061c9ca --- /dev/null +++ b/Matrices/Matrices/bin/Debug/Matrices.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/Matrices/Matrices/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Matrices/Matrices/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..9fc0b19 Binary files /dev/null and b/Matrices/Matrices/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Matrices/Matrices/obj/Debug/Matrices.csproj.FileListAbsolute.txt b/Matrices/Matrices/obj/Debug/Matrices.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..ee8ef31 --- /dev/null +++ b/Matrices/Matrices/obj/Debug/Matrices.csproj.FileListAbsolute.txt @@ -0,0 +1,5 @@ +I:\UNLaM\DESARROLLO WEB - POLO TECNOLÓGICO\C# - ASP.NET\C# - Aplicaciones de consola\Matrices\Matrices\bin\Debug\Matrices.exe.config +I:\UNLaM\DESARROLLO WEB - POLO TECNOLÓGICO\C# - ASP.NET\C# - Aplicaciones de consola\Matrices\Matrices\bin\Debug\Matrices.exe +I:\UNLaM\DESARROLLO WEB - POLO TECNOLÓGICO\C# - ASP.NET\C# - Aplicaciones de consola\Matrices\Matrices\bin\Debug\Matrices.pdb +I:\UNLaM\DESARROLLO WEB - POLO TECNOLÓGICO\C# - ASP.NET\C# - Aplicaciones de consola\Matrices\Matrices\obj\Debug\Matrices.exe +I:\UNLaM\DESARROLLO WEB - POLO TECNOLÓGICO\C# - ASP.NET\C# - Aplicaciones de consola\Matrices\Matrices\obj\Debug\Matrices.pdb diff --git a/Matrices/Matrices/obj/Debug/Matrices.exe b/Matrices/Matrices/obj/Debug/Matrices.exe new file mode 100644 index 0000000..be0ca5f Binary files /dev/null and b/Matrices/Matrices/obj/Debug/Matrices.exe differ diff --git a/Matrices/Matrices/obj/Debug/Matrices.pdb b/Matrices/Matrices/obj/Debug/Matrices.pdb new file mode 100644 index 0000000..1784fd0 Binary files /dev/null and b/Matrices/Matrices/obj/Debug/Matrices.pdb differ diff --git a/Matrices/Matrices/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/Matrices/Matrices/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs new file mode 100644 index 0000000..e69de29 diff --git a/Matrices/Matrices/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/Matrices/Matrices/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs new file mode 100644 index 0000000..e69de29 diff --git a/Matrices/Matrices/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/Matrices/Matrices/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs new file mode 100644 index 0000000..e69de29 diff --git a/Saludo/Saludo en capas/ClassLibrary Saludar/CapaNegocio.cs b/Saludo/Saludo en capas/ClassLibrary Saludar/CapaNegocio.cs new file mode 100644 index 0000000..b22721f --- /dev/null +++ b/Saludo/Saludo en capas/ClassLibrary Saludar/CapaNegocio.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace ClassLibrary_Saludar +{ + public class CapaNegocio + { + public static void Saludar(String nombre, String apellido) + { + Console.WriteLine("\n Buenas noches, " + nombre + " " + apellido + "\n"); + Console.ReadLine(); + } + } +} diff --git a/Saludo/Saludo en capas/ClassLibrary Saludar/ClassLibrary Saludar.csproj b/Saludo/Saludo en capas/ClassLibrary Saludar/ClassLibrary Saludar.csproj new file mode 100644 index 0000000..47db5dc --- /dev/null +++ b/Saludo/Saludo en capas/ClassLibrary Saludar/ClassLibrary Saludar.csproj @@ -0,0 +1,53 @@ + + + + + Debug + AnyCPU + {DDF02B69-DA23-45F2-9C94-546CEE19621A} + Library + Properties + ClassLibrary_Saludar + ClassLibrary Saludar + v4.5 + 512 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Saludo/Saludo en capas/ClassLibrary Saludar/Properties/AssemblyInfo.cs b/Saludo/Saludo en capas/ClassLibrary Saludar/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..9886662 --- /dev/null +++ b/Saludo/Saludo en capas/ClassLibrary Saludar/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// La información general sobre un ensamblado se controla mediante el siguiente +// conjunto de atributos. Cambie estos atributos para modificar la información +// asociada con un ensamblado. +[assembly: AssemblyTitle("ClassLibrary Saludar")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("ClassLibrary Saludar")] +[assembly: AssemblyCopyright("Copyright © 2017")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Si establece ComVisible como false, los tipos de este ensamblado no estarán visibles +// para los componentes COM. Si necesita obtener acceso a un tipo de este ensamblado desde +// COM, establezca el atributo ComVisible como true en este tipo. +[assembly: ComVisible(false)] + +// El siguiente GUID sirve como identificador de typelib si este proyecto se expone a COM +[assembly: Guid("8a339815-0bb3-46ce-9922-a6bbbdcaaef3")] + +// La información de versión de un ensamblado consta de los cuatro valores siguientes: +// +// Versión principal +// Versión secundaria +// Número de compilación +// Revisión +// +// Puede especificar todos los valores o establecer como predeterminados los números de compilación y de revisión +// mediante el carácter '*', como se muestra a continuación: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Saludo/Saludo en capas/ClassLibrary Saludar/bin/Debug/ClassLibrary Saludar.dll b/Saludo/Saludo en capas/ClassLibrary Saludar/bin/Debug/ClassLibrary Saludar.dll new file mode 100644 index 0000000..45324c8 Binary files /dev/null and b/Saludo/Saludo en capas/ClassLibrary Saludar/bin/Debug/ClassLibrary Saludar.dll differ diff --git a/Saludo/Saludo en capas/ClassLibrary Saludar/bin/Debug/ClassLibrary Saludar.pdb b/Saludo/Saludo en capas/ClassLibrary Saludar/bin/Debug/ClassLibrary Saludar.pdb new file mode 100644 index 0000000..0621597 Binary files /dev/null and b/Saludo/Saludo en capas/ClassLibrary Saludar/bin/Debug/ClassLibrary Saludar.pdb differ diff --git a/Saludo/Saludo en capas/ClassLibrary Saludar/obj/Debug/ClassLibrary Saludar.csproj.FileListAbsolute.txt b/Saludo/Saludo en capas/ClassLibrary Saludar/obj/Debug/ClassLibrary Saludar.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..13e5fec --- /dev/null +++ b/Saludo/Saludo en capas/ClassLibrary Saludar/obj/Debug/ClassLibrary Saludar.csproj.FileListAbsolute.txt @@ -0,0 +1,4 @@ +C:\FABIAN\Desarrollo Web en .NET\Saludo en capas\ClassLibrary Saludar\bin\Debug\ClassLibrary Saludar.dll +C:\FABIAN\Desarrollo Web en .NET\Saludo en capas\ClassLibrary Saludar\bin\Debug\ClassLibrary Saludar.pdb +C:\FABIAN\Desarrollo Web en .NET\Saludo en capas\ClassLibrary Saludar\obj\Debug\ClassLibrary Saludar.dll +C:\FABIAN\Desarrollo Web en .NET\Saludo en capas\ClassLibrary Saludar\obj\Debug\ClassLibrary Saludar.pdb diff --git a/Saludo/Saludo en capas/ClassLibrary Saludar/obj/Debug/ClassLibrary Saludar.dll b/Saludo/Saludo en capas/ClassLibrary Saludar/obj/Debug/ClassLibrary Saludar.dll new file mode 100644 index 0000000..45324c8 Binary files /dev/null and b/Saludo/Saludo en capas/ClassLibrary Saludar/obj/Debug/ClassLibrary Saludar.dll differ diff --git a/Saludo/Saludo en capas/ClassLibrary Saludar/obj/Debug/ClassLibrary Saludar.pdb b/Saludo/Saludo en capas/ClassLibrary Saludar/obj/Debug/ClassLibrary Saludar.pdb new file mode 100644 index 0000000..0621597 Binary files /dev/null and b/Saludo/Saludo en capas/ClassLibrary Saludar/obj/Debug/ClassLibrary Saludar.pdb differ diff --git a/Saludo/Saludo en capas/ClassLibrary Saludar/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Saludo/Saludo en capas/ClassLibrary Saludar/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..fdc2dba Binary files /dev/null and b/Saludo/Saludo en capas/ClassLibrary Saludar/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Saludo/Saludo en capas/ClassLibrary Saludar/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/Saludo/Saludo en capas/ClassLibrary Saludar/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs new file mode 100644 index 0000000..e69de29 diff --git a/Saludo/Saludo en capas/ClassLibrary Saludar/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/Saludo/Saludo en capas/ClassLibrary Saludar/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs new file mode 100644 index 0000000..e69de29 diff --git a/Saludo/Saludo en capas/ClassLibrary Saludar/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/Saludo/Saludo en capas/ClassLibrary Saludar/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs new file mode 100644 index 0000000..e69de29 diff --git a/Saludo/Saludo en capas/Saludo en capas.sln b/Saludo/Saludo en capas/Saludo en capas.sln new file mode 100644 index 0000000..bcc0dfb --- /dev/null +++ b/Saludo/Saludo en capas/Saludo en capas.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2013 +VisualStudioVersion = 12.0.21005.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Saludo en capas", "Saludo en capas\Saludo en capas.csproj", "{AD6419B3-CC6D-4586-99EB-842944366DB8}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ClassLibrary Saludar", "ClassLibrary Saludar\ClassLibrary Saludar.csproj", "{DDF02B69-DA23-45F2-9C94-546CEE19621A}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {AD6419B3-CC6D-4586-99EB-842944366DB8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {AD6419B3-CC6D-4586-99EB-842944366DB8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {AD6419B3-CC6D-4586-99EB-842944366DB8}.Release|Any CPU.ActiveCfg = Release|Any CPU + {AD6419B3-CC6D-4586-99EB-842944366DB8}.Release|Any CPU.Build.0 = Release|Any CPU + {DDF02B69-DA23-45F2-9C94-546CEE19621A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {DDF02B69-DA23-45F2-9C94-546CEE19621A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DDF02B69-DA23-45F2-9C94-546CEE19621A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {DDF02B69-DA23-45F2-9C94-546CEE19621A}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Saludo/Saludo en capas/Saludo en capas.v12.suo b/Saludo/Saludo en capas/Saludo en capas.v12.suo new file mode 100644 index 0000000..336aa33 Binary files /dev/null and b/Saludo/Saludo en capas/Saludo en capas.v12.suo differ diff --git a/Saludo/Saludo en capas/Saludo en capas/App.config b/Saludo/Saludo en capas/Saludo en capas/App.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/Saludo/Saludo en capas/Saludo en capas/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Saludo/Saludo en capas/Saludo en capas/CapaPresentacion.cs b/Saludo/Saludo en capas/Saludo en capas/CapaPresentacion.cs new file mode 100644 index 0000000..ccbcd81 --- /dev/null +++ b/Saludo/Saludo en capas/Saludo en capas/CapaPresentacion.cs @@ -0,0 +1,24 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +using ClassLibrary_Saludar; + +namespace Saludo_en_capas +{ + class CapaPresentacion + { + static void Main(string[] args) + { + Console.WriteLine("\n Ingrese nombre: \n"); + String nombre = Console.ReadLine(); + + Console.WriteLine("\n Ingrese apellido: \n"); + String apellido = Console.ReadLine(); + + CapaNegocio.Saludar(nombre, apellido); + } + } +} diff --git a/Saludo/Saludo en capas/Saludo en capas/Properties/AssemblyInfo.cs b/Saludo/Saludo en capas/Saludo en capas/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..6b2427c --- /dev/null +++ b/Saludo/Saludo en capas/Saludo en capas/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// La información general sobre un ensamblado se controla mediante el siguiente +// conjunto de atributos. Cambie estos atributos para modificar la información +// asociada con un ensamblado. +[assembly: AssemblyTitle("Saludo en capas")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Saludo en capas")] +[assembly: AssemblyCopyright("Copyright © 2017")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Si establece ComVisible como false, los tipos de este ensamblado no estarán visibles +// para los componentes COM. Si necesita obtener acceso a un tipo de este ensamblado desde +// COM, establezca el atributo ComVisible como true en este tipo. +[assembly: ComVisible(false)] + +// El siguiente GUID sirve como identificador de typelib si este proyecto se expone a COM +[assembly: Guid("7095d317-5751-4083-a794-3037d435578b")] + +// La información de versión de un ensamblado consta de los cuatro valores siguientes: +// +// Versión principal +// Versión secundaria +// Número de compilación +// Revisión +// +// Puede especificar todos los valores o establecer como predeterminados los números de compilación y de revisión +// mediante el carácter '*', como se muestra a continuación: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Saludo/Saludo en capas/Saludo en capas/Saludo en capas.csproj b/Saludo/Saludo en capas/Saludo en capas/Saludo en capas.csproj new file mode 100644 index 0000000..f651c0a --- /dev/null +++ b/Saludo/Saludo en capas/Saludo en capas/Saludo en capas.csproj @@ -0,0 +1,64 @@ + + + + + Debug + AnyCPU + {AD6419B3-CC6D-4586-99EB-842944366DB8} + Exe + Properties + Saludo_en_capas + Saludo en capas + v4.5 + 512 + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + {ddf02b69-da23-45f2-9c94-546cee19621a} + ClassLibrary Saludar + + + + + \ No newline at end of file diff --git a/Saludo/Saludo en capas/Saludo en capas/bin/Debug/ClassLibrary Saludar.dll b/Saludo/Saludo en capas/Saludo en capas/bin/Debug/ClassLibrary Saludar.dll new file mode 100644 index 0000000..45324c8 Binary files /dev/null and b/Saludo/Saludo en capas/Saludo en capas/bin/Debug/ClassLibrary Saludar.dll differ diff --git a/Saludo/Saludo en capas/Saludo en capas/bin/Debug/ClassLibrary Saludar.pdb b/Saludo/Saludo en capas/Saludo en capas/bin/Debug/ClassLibrary Saludar.pdb new file mode 100644 index 0000000..0621597 Binary files /dev/null and b/Saludo/Saludo en capas/Saludo en capas/bin/Debug/ClassLibrary Saludar.pdb differ diff --git a/Saludo/Saludo en capas/Saludo en capas/bin/Debug/Saludo en capas.exe b/Saludo/Saludo en capas/Saludo en capas/bin/Debug/Saludo en capas.exe new file mode 100644 index 0000000..65698ef Binary files /dev/null and b/Saludo/Saludo en capas/Saludo en capas/bin/Debug/Saludo en capas.exe differ diff --git a/Saludo/Saludo en capas/Saludo en capas/bin/Debug/Saludo en capas.exe.config b/Saludo/Saludo en capas/Saludo en capas/bin/Debug/Saludo en capas.exe.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/Saludo/Saludo en capas/Saludo en capas/bin/Debug/Saludo en capas.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Saludo/Saludo en capas/Saludo en capas/bin/Debug/Saludo en capas.pdb b/Saludo/Saludo en capas/Saludo en capas/bin/Debug/Saludo en capas.pdb new file mode 100644 index 0000000..9ff6a34 Binary files /dev/null and b/Saludo/Saludo en capas/Saludo en capas/bin/Debug/Saludo en capas.pdb differ diff --git a/Saludo/Saludo en capas/Saludo en capas/bin/Debug/Saludo en capas.vshost.exe b/Saludo/Saludo en capas/Saludo en capas/bin/Debug/Saludo en capas.vshost.exe new file mode 100644 index 0000000..c0dfecc Binary files /dev/null and b/Saludo/Saludo en capas/Saludo en capas/bin/Debug/Saludo en capas.vshost.exe differ diff --git a/Saludo/Saludo en capas/Saludo en capas/bin/Debug/Saludo en capas.vshost.exe.config b/Saludo/Saludo en capas/Saludo en capas/bin/Debug/Saludo en capas.vshost.exe.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/Saludo/Saludo en capas/Saludo en capas/bin/Debug/Saludo en capas.vshost.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Saludo/Saludo en capas/Saludo en capas/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Saludo/Saludo en capas/Saludo en capas/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..d9ae0b6 Binary files /dev/null and b/Saludo/Saludo en capas/Saludo en capas/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Saludo/Saludo en capas/Saludo en capas/obj/Debug/Saludo en capas.csproj.FileListAbsolute.txt b/Saludo/Saludo en capas/Saludo en capas/obj/Debug/Saludo en capas.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..e89ab2e --- /dev/null +++ b/Saludo/Saludo en capas/Saludo en capas/obj/Debug/Saludo en capas.csproj.FileListAbsolute.txt @@ -0,0 +1,8 @@ +C:\FABIAN\Desarrollo Web en .NET\Saludo en capas\Saludo en capas\bin\Debug\Saludo en capas.exe.config +C:\FABIAN\Desarrollo Web en .NET\Saludo en capas\Saludo en capas\obj\Debug\Saludo en capas.csprojResolveAssemblyReference.cache +C:\FABIAN\Desarrollo Web en .NET\Saludo en capas\Saludo en capas\bin\Debug\Saludo en capas.exe +C:\FABIAN\Desarrollo Web en .NET\Saludo en capas\Saludo en capas\bin\Debug\Saludo en capas.pdb +C:\FABIAN\Desarrollo Web en .NET\Saludo en capas\Saludo en capas\bin\Debug\ClassLibrary Saludar.dll +C:\FABIAN\Desarrollo Web en .NET\Saludo en capas\Saludo en capas\bin\Debug\ClassLibrary Saludar.pdb +C:\FABIAN\Desarrollo Web en .NET\Saludo en capas\Saludo en capas\obj\Debug\Saludo en capas.exe +C:\FABIAN\Desarrollo Web en .NET\Saludo en capas\Saludo en capas\obj\Debug\Saludo en capas.pdb diff --git a/Saludo/Saludo en capas/Saludo en capas/obj/Debug/Saludo en capas.csprojResolveAssemblyReference.cache b/Saludo/Saludo en capas/Saludo en capas/obj/Debug/Saludo en capas.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..c130b4b Binary files /dev/null and b/Saludo/Saludo en capas/Saludo en capas/obj/Debug/Saludo en capas.csprojResolveAssemblyReference.cache differ diff --git a/Saludo/Saludo en capas/Saludo en capas/obj/Debug/Saludo en capas.exe b/Saludo/Saludo en capas/Saludo en capas/obj/Debug/Saludo en capas.exe new file mode 100644 index 0000000..65698ef Binary files /dev/null and b/Saludo/Saludo en capas/Saludo en capas/obj/Debug/Saludo en capas.exe differ diff --git a/Saludo/Saludo en capas/Saludo en capas/obj/Debug/Saludo en capas.pdb b/Saludo/Saludo en capas/Saludo en capas/obj/Debug/Saludo en capas.pdb new file mode 100644 index 0000000..9ff6a34 Binary files /dev/null and b/Saludo/Saludo en capas/Saludo en capas/obj/Debug/Saludo en capas.pdb differ diff --git a/Saludo/Saludo en capas/Saludo en capas/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/Saludo/Saludo en capas/Saludo en capas/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs new file mode 100644 index 0000000..e69de29 diff --git a/Saludo/Saludo en capas/Saludo en capas/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/Saludo/Saludo en capas/Saludo en capas/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs new file mode 100644 index 0000000..e69de29 diff --git a/Saludo/Saludo en capas/Saludo en capas/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/Saludo/Saludo en capas/Saludo en capas/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs new file mode 100644 index 0000000..e69de29 diff --git a/Saludo/Saludo/Saludo.sln b/Saludo/Saludo/Saludo.sln new file mode 100644 index 0000000..a022094 --- /dev/null +++ b/Saludo/Saludo/Saludo.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2013 +VisualStudioVersion = 12.0.21005.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Saludo", "Saludo\Saludo.csproj", "{A47A1D68-227F-4231-BF16-34C2F46890A3}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {A47A1D68-227F-4231-BF16-34C2F46890A3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A47A1D68-227F-4231-BF16-34C2F46890A3}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A47A1D68-227F-4231-BF16-34C2F46890A3}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A47A1D68-227F-4231-BF16-34C2F46890A3}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Saludo/Saludo/Saludo.v12.suo b/Saludo/Saludo/Saludo.v12.suo new file mode 100644 index 0000000..d39e06b Binary files /dev/null and b/Saludo/Saludo/Saludo.v12.suo differ diff --git a/Saludo/Saludo/Saludo/App.config b/Saludo/Saludo/Saludo/App.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/Saludo/Saludo/Saludo/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Saludo/Saludo/Saludo/Program.cs b/Saludo/Saludo/Saludo/Program.cs new file mode 100644 index 0000000..8b42efb --- /dev/null +++ b/Saludo/Saludo/Saludo/Program.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Saludo +{ + class Program + { + static void Main(string[] args) + { + Console.WriteLine("\n Ingrese nombre: \n"); + String nombre = Console.ReadLine(); + + Console.WriteLine("\n Ingrese apellido: \n"); + String apellido = Console.ReadLine(); + + Saludar(nombre, apellido); + } + + static void Saludar(String nombre, String apellido) + { + Console.WriteLine("\n Buenas noches, " + nombre + " " + apellido + "\n"); + Console.ReadLine(); + } + } +} diff --git a/Saludo/Saludo/Saludo/Properties/AssemblyInfo.cs b/Saludo/Saludo/Saludo/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..69a618a --- /dev/null +++ b/Saludo/Saludo/Saludo/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// La información general sobre un ensamblado se controla mediante el siguiente +// conjunto de atributos. Cambie estos atributos para modificar la información +// asociada con un ensamblado. +[assembly: AssemblyTitle("Saludo")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Saludo")] +[assembly: AssemblyCopyright("Copyright © 2017")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Si establece ComVisible como false, los tipos de este ensamblado no estarán visibles +// para los componentes COM. Si necesita obtener acceso a un tipo de este ensamblado desde +// COM, establezca el atributo ComVisible como true en este tipo. +[assembly: ComVisible(false)] + +// El siguiente GUID sirve como identificador de typelib si este proyecto se expone a COM +[assembly: Guid("5a5a2372-04ba-4e5b-b758-5247ebe101a4")] + +// La información de versión de un ensamblado consta de los cuatro valores siguientes: +// +// Versión principal +// Versión secundaria +// Número de compilación +// Revisión +// +// Puede especificar todos los valores o establecer como predeterminados los números de compilación y de revisión +// mediante el carácter '*', como se muestra a continuación: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Saludo/Saludo/Saludo/Saludo.csproj b/Saludo/Saludo/Saludo/Saludo.csproj new file mode 100644 index 0000000..042ffbc --- /dev/null +++ b/Saludo/Saludo/Saludo/Saludo.csproj @@ -0,0 +1,58 @@ + + + + + Debug + AnyCPU + {A47A1D68-227F-4231-BF16-34C2F46890A3} + Exe + Properties + Saludo + Saludo + v4.5 + 512 + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Saludo/Saludo/Saludo/bin/Debug/Saludo.exe b/Saludo/Saludo/Saludo/bin/Debug/Saludo.exe new file mode 100644 index 0000000..11a305c Binary files /dev/null and b/Saludo/Saludo/Saludo/bin/Debug/Saludo.exe differ diff --git a/Saludo/Saludo/Saludo/bin/Debug/Saludo.exe.config b/Saludo/Saludo/Saludo/bin/Debug/Saludo.exe.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/Saludo/Saludo/Saludo/bin/Debug/Saludo.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Saludo/Saludo/Saludo/bin/Debug/Saludo.pdb b/Saludo/Saludo/Saludo/bin/Debug/Saludo.pdb new file mode 100644 index 0000000..15e2e7c Binary files /dev/null and b/Saludo/Saludo/Saludo/bin/Debug/Saludo.pdb differ diff --git a/Saludo/Saludo/Saludo/bin/Debug/Saludo.vshost.exe b/Saludo/Saludo/Saludo/bin/Debug/Saludo.vshost.exe new file mode 100644 index 0000000..c0dfecc Binary files /dev/null and b/Saludo/Saludo/Saludo/bin/Debug/Saludo.vshost.exe differ diff --git a/Saludo/Saludo/Saludo/bin/Debug/Saludo.vshost.exe.config b/Saludo/Saludo/Saludo/bin/Debug/Saludo.vshost.exe.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/Saludo/Saludo/Saludo/bin/Debug/Saludo.vshost.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Saludo/Saludo/Saludo/bin/Debug/Saludo.vshost.exe.manifest b/Saludo/Saludo/Saludo/bin/Debug/Saludo.vshost.exe.manifest new file mode 100644 index 0000000..061c9ca --- /dev/null +++ b/Saludo/Saludo/Saludo/bin/Debug/Saludo.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/Saludo/Saludo/Saludo/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Saludo/Saludo/Saludo/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..b9944f6 Binary files /dev/null and b/Saludo/Saludo/Saludo/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Saludo/Saludo/Saludo/obj/Debug/Saludo.csproj.FileListAbsolute.txt b/Saludo/Saludo/Saludo/obj/Debug/Saludo.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..cda992b --- /dev/null +++ b/Saludo/Saludo/Saludo/obj/Debug/Saludo.csproj.FileListAbsolute.txt @@ -0,0 +1,6 @@ +C:\FABIAN\Desarrollo Web en .NET\Saludo\Saludo\bin\Debug\Saludo.exe.config +C:\FABIAN\Desarrollo Web en .NET\Saludo\Saludo\bin\Debug\Saludo.exe +C:\FABIAN\Desarrollo Web en .NET\Saludo\Saludo\bin\Debug\Saludo.pdb +C:\FABIAN\Desarrollo Web en .NET\Saludo\Saludo\obj\Debug\Saludo.csprojResolveAssemblyReference.cache +C:\FABIAN\Desarrollo Web en .NET\Saludo\Saludo\obj\Debug\Saludo.exe +C:\FABIAN\Desarrollo Web en .NET\Saludo\Saludo\obj\Debug\Saludo.pdb diff --git a/Saludo/Saludo/Saludo/obj/Debug/Saludo.csprojResolveAssemblyReference.cache b/Saludo/Saludo/Saludo/obj/Debug/Saludo.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..27606bb Binary files /dev/null and b/Saludo/Saludo/Saludo/obj/Debug/Saludo.csprojResolveAssemblyReference.cache differ diff --git a/Saludo/Saludo/Saludo/obj/Debug/Saludo.exe b/Saludo/Saludo/Saludo/obj/Debug/Saludo.exe new file mode 100644 index 0000000..11a305c Binary files /dev/null and b/Saludo/Saludo/Saludo/obj/Debug/Saludo.exe differ diff --git a/Saludo/Saludo/Saludo/obj/Debug/Saludo.pdb b/Saludo/Saludo/Saludo/obj/Debug/Saludo.pdb new file mode 100644 index 0000000..15e2e7c Binary files /dev/null and b/Saludo/Saludo/Saludo/obj/Debug/Saludo.pdb differ diff --git a/Saludo/Saludo/Saludo/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/Saludo/Saludo/Saludo/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs new file mode 100644 index 0000000..e69de29 diff --git a/Saludo/Saludo/Saludo/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/Saludo/Saludo/Saludo/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs new file mode 100644 index 0000000..e69de29 diff --git a/Saludo/Saludo/Saludo/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/Saludo/Saludo/Saludo/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs new file mode 100644 index 0000000..e69de29