Baixe o app para aproveitar ainda mais
Esta é uma pré-visualização de arquivo. Entre para ver o arquivo original
ELPLista0/.vscode/launch.json { // Use IntelliSense to find out which attributes exist for C# debugging // Use hover for the description of the existing attributes // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md "version": "0.2.0", "configurations": [ { "name": ".NET Core Launch (console)", "type": "coreclr", "request": "launch", "preLaunchTask": "build", // If you have changed target frameworks, make sure to update the program path. "program": "${workspaceRoot}/bin/Debug/netcoreapp2.0/ELP - Lista 0 - Exercícios Resolvidos e Comentados.dll", "args": [], "cwd": "${workspaceRoot}", // For more information about the 'console' field, see https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md#console-terminal-window "console": "internalConsole", "stopAtEntry": false, "internalConsoleOptions": "openOnSessionStart" }, { "name": ".NET Core Attach", "type": "coreclr", "request": "attach", "processId": "${command:pickProcess}" } ] } ELPLista0/.vscode/tasks.json { "version": "0.1.0", "command": "dotnet", "isShellCommand": true, "args": [], "tasks": [ { "taskName": "build", "args": [ "${workspaceRoot}/ELP - Lista 0 - Exercícios Resolvidos e Comentados.csproj" ], "isBuildCommand": true, "problemMatcher": "$msCompile" } ] } ELPLista0/bin/Debug/netcoreapp2.0/ELP - Lista 0 - Exerc�cios Resolvidos e Comentados.deps.json { "runtimeTarget": { "name": ".NETCoreApp,Version=v2.0", "signature": "da39a3ee5e6b4b0d3255bfef95601890afd80709" }, "compilationOptions": {}, "targets": { ".NETCoreApp,Version=v2.0": { "ELP - Lista 0 - Exercícios Resolvidos e Comentados/1.0.0": { "runtime": { "ELP - Lista 0 - Exercícios Resolvidos e Comentados.dll": {} } } } }, "libraries": { "ELP - Lista 0 - Exercícios Resolvidos e Comentados/1.0.0": { "type": "project", "serviceable": false, "sha512": "" } } } ELPLista0/bin/Debug/netcoreapp2.0/ELP - Lista 0 - Exerc�cios Resolvidos e Comentados.dll ELPLista0/bin/Debug/netcoreapp2.0/ELP - Lista 0 - Exerc�cios Resolvidos e Comentados.pdb ELPLista0/bin/Debug/netcoreapp2.0/ELP - Lista 0 - Exerc�cios Resolvidos e Comentados.runtimeconfig.dev.json { "runtimeOptions": { "additionalProbingPaths": [ "C:\\Users\\Augusto\\.dotnet\\store\\|arch|\\|tfm|", "C:\\Users\\Augusto\\.nuget\\packages", "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" ] } } ELPLista0/bin/Debug/netcoreapp2.0/ELP - Lista 0 - Exerc�cios Resolvidos e Comentados.runtimeconfig.json { "runtimeOptions": { "tfm": "netcoreapp2.0", "framework": { "name": "Microsoft.NETCore.App", "version": "2.0.0" } } } ELPLista0/bin/Debug/netcoreapp2.0/ELPLista0.deps.json { "runtimeTarget": { "name": ".NETCoreApp,Version=v2.0", "signature": "da39a3ee5e6b4b0d3255bfef95601890afd80709" }, "compilationOptions": {}, "targets": { ".NETCoreApp,Version=v2.0": { "ELPLista0/1.0.0": { "runtime": { "ELPLista0.dll": {} } } } }, "libraries": { "ELPLista0/1.0.0": { "type": "project", "serviceable": false, "sha512": "" } } } ELPLista0/bin/Debug/netcoreapp2.0/ELPLista0.dll ELPLista0/bin/Debug/netcoreapp2.0/ELPLista0.pdb ELPLista0/bin/Debug/netcoreapp2.0/ELPLista0.runtimeconfig.dev.json { "runtimeOptions": { "additionalProbingPaths": [ "C:\\Users\\Augusto\\.dotnet\\store\\|arch|\\|tfm|", "C:\\Users\\Augusto\\.nuget\\packages", "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" ] } } ELPLista0/bin/Debug/netcoreapp2.0/ELPLista0.runtimeconfig.json { "runtimeOptions": { "tfm": "netcoreapp2.0", "framework": { "name": "Microsoft.NETCore.App", "version": "2.0.0" } } } ELPLista0/ELPLista0.csproj <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>Exe</OutputType> <TargetFramework>netcoreapp2.0</TargetFramework> </PropertyGroup> </Project> ELPLista0/EstruturasCondicionais.cs using System; public class EstruturasCondicionais { public void Ex01() { Console.WriteLine("Digite um Numero"); int n = int.Parse(Console.ReadLine()); if (n < 0) { Console.WriteLine("N Negativo"); } else if (n > 0) { Console.WriteLine("N Positivo"); } else { Console.WriteLine("N a Zero"); } } public void Ex02() { int a = int.Parse(Console.ReadLine()); int b = int.Parse(Console.ReadLine()); int c = int.Parse(Console.ReadLine()); if (a + b < c || b + c < a || a + c < b) { Console.WriteLine("Nao é triangulo válido"); } else { if (a == b && b == c) { Console.WriteLine("Triangulo Equilatero"); } else if (a == b && b != c) { Console.WriteLine("Triangulo Isosceles"); } else { Console.WriteLine("Triangulo Escaleno"); } } } } ELPLista0/EstruturasDeRepeticao.cs using System; public class EstruturasDeRepeticao { public void Ex01() { Console.WriteLine("Digite o Multiplicador"); int n1 = int.Parse(Console.ReadLine()); Console.WriteLine("Digite o Multiplicando"); int n2 = int.Parse(Console.ReadLine()); int r = 0; for (int i = 0; i < n1; i++) { r += n2; } Console.WriteLine(n1 + " x " + n2 + " = " + r); } public void Ex02() { Console.WriteLine("Digite uma qtd de n: "); int n = int.Parse(Console.ReadLine()); int numero = 0; int soma = 0; float media = 0; for (int i = 0; i < n; i++) { Console.WriteLine("Digite um Numero: "); numero = int.Parse(Console.ReadLine()); soma += numero; } media = soma / n; Console.WriteLine("Media: " + media); } public void Ex03() { Console.WriteLine("Digite min: "); int min = int.Parse(Console.ReadLine()); Console.WriteLine("Digite max: "); int max = int.Parse(Console.ReadLine()); int soma = 0; for (int i = min; i < max; i++) { if (i % 2 != 0) soma += i; } Console.WriteLine("Soma: " + soma); } public void Ex04() { Console.WriteLine("Digite um N: "); int n = int.Parse(Console.ReadLine()); int fat = 1; for (int i = 1; i < n; i++) { fat += fat * (n - i); Console.WriteLine(fat); } Console.WriteLine("Fatorial: " + fat); } } ELPLista0/EstruturasSequenciais.cs using System; public class EstruturasSequenciais { public void Ex01() { // Calcular Área de um Retângulo Console.WriteLine("Digite a Altura: "); float h = float.Parse(Console.ReadLine()); Console.WriteLine("Digite a Largura: "); float l = float.Parse(Console.ReadLine()); float a = h * l; Console.WriteLine("A area e: " + a); } public void Ex02() { // Trocar valores das variaveis Console.WriteLine("Digite um N1 Inteiro: "); int n1 = int.Parse(Console.ReadLine()); Console.WriteLine("Digite outro N2 Inteiro: "); int n2 = int.Parse(Console.ReadLine()); Console.WriteLine("Trocando: " + n1 + " por " + n2 + " Fica: "); int aux = n1; n1 = n2; n2 = aux; Console.WriteLine("N1: " + n1 + " N2: " + n2); } public void Ex03() { Console.WriteLine("Entre com A: "); double a = double.Parse(Console.ReadLine()); Console.WriteLine("Entre com B: "); double b = double.Parse(Console.ReadLine()); Console.WriteLine("Entre com C: "); double c = double.Parse(Console.ReadLine()); // Calcular Báscara double delta = (b * b) - (4 * a * c); if (delta < 0) { Console.WriteLine("Nao Possui raizes reais!"); } else { Console.WriteLine("Delta: " + delta); double x1 = (-b + Math.Sqrt(delta)) / 2 * a; double x2 = (-b - Math.Sqrt(delta)) / 2 * a; Console.WriteLine("x1 = " + x1 + " x2 = " + x2); } } public void Ex04() { System.Console.WriteLine("Preço da Gas/litro"); float cl = float.Parse(Console.ReadLine()); System.Console.WriteLine("Quantidade de Km percorridos?"); float km = float.Parse(Console.ReadLine()); System.Console.WriteLine("Quantos Km/l seu carro faz?"); float kml = float.Parse(Console.ReadLine()); float valor = (km / kml) * cl; System.Console.WriteLine("Custo: " + valor); } } ELPLista0/Matrizes.cs using System; using System.Threading; public class Matrizes { public void Ex01() { int[,] mat = new int[10, 10]; Random rand = new Random(); for (int i = 0; i < 10; i++) { for (int j = 0; j < 10; j++) { mat[i, j] = rand.Next(1, 900); } } for (int i = 0; i < 10; i++) { Console.WriteLine(); for (int j = 0; j < 10; j++) { Thread.Sleep(50); Console.Write(" "); Console.Write(mat[i, j]); } } int maior = mat[0, 0]; int menor = mat[0, 0]; for (int i = 0; i < 10; i++) { for (int j = 0; j < 10; j++) { if (mat[i, j] > maior) { maior = mat[i, j]; } if (mat[i, j] < menor) { menor = mat[i, j]; } } } Console.WriteLine(); Console.WriteLine("Maior: " + maior + " Menor: " + menor); } public void Ex02() { Console.WriteLine("Quantos Nomes? "); int nomes = int.Parse(Console.ReadLine()); Console.WriteLine("Quantos Joos por Nome? "); int jogos = int.Parse(Console.ReadLine()); jogos = jogos + 1; string[,] m = new string[nomes, jogos]; for (int i = 0; i < nomes; i++) { Console.WriteLine("Digite o Nome: "); m[i, 0] = Console.ReadLine(); for (int j = 1; j < jogos; j++) { Console.WriteLine("Digite o Jogo: "); m[i, j] = Console.ReadLine(); } } for (int i = 0; i < nomes; i++) { Console.WriteLine(); for (int j = 0; j < jogos; j++) { Thread.Sleep(50); Console.Write(" "); Console.Write(m[i, j]); } } } public void Ex03() { int[,] m1 = new int[2, 2]; int[,] m2 = new int[2, 2]; int[,] m3 = new int[2, 2]; Random rand = new Random(); for (int i = 0; i < 2; i++) { for (int j = 0; j < 2; j++) { m1[i, j] = rand.Next(1, 9); } } for (int i = 0; i < 2; i++) { for (int j = 0; j < 2; j++) { m2[i, j] = rand.Next(1, 9); } } int acumula = 0; for (int i = 0; i < 2; i++) { for (int j = 0; j < 2; j++) { acumula = 0; for (int k = 0; k < 2; k++) { acumula += m1[i, k] * m2[k, j]; } m3[i, j] = acumula; } } for (int i = 0; i < 2; i++) { Console.WriteLine(); for (int j = 0; j < 2; j++) { Console.Write(" "); Console.Write(m1[i, j]); } } System.Console.WriteLine(); for (int i = 0; i < 2; i++) { Console.WriteLine(); for (int j = 0; j < 2; j++) { Console.Write(" "); Console.Write(m2[i, j]); } } System.Console.WriteLine(); for (int i = 0; i < 2; i++) { Console.WriteLine(); for (int j = 0; j < 2; j++) { Thread.Sleep(50); Console.Write(" "); Console.Write(m3[i, j]); } } } } ELPLista0/obj/Debug/netcoreapp2.0/CoreCompileInputs.cache ac38ebaf5c7c6a1125c7071dfe8111d46779920a ELPLista0/obj/Debug/netcoreapp2.0/ELP - Lista 0 - Exerc�cios Resolvidos e Comentados.AssemblyInfo.cs //------------------------------------------------------------------------------ // <auto-generated> // Generated by the MSBuild WriteCodeFragment class. // </auto-generated> //------------------------------------------------------------------------------ using System; using System.Reflection; [assembly: System.Reflection.AssemblyCompanyAttribute("ELP - Lista 0 - Exercícios Resolvidos e Comentados")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyDescriptionAttribute("Package Description")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] [assembly: System.Reflection.AssemblyProductAttribute("ELP - Lista 0 - Exercícios Resolvidos e Comentados")] [assembly: System.Reflection.AssemblyTitleAttribute("ELP - Lista 0 - Exercícios Resolvidos e Comentados")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] ELPLista0/obj/Debug/netcoreapp2.0/ELP - Lista 0 - Exerc�cios Resolvidos e Comentados.AssemblyInfoInputs.cache 1f46c7f6aa71b2ea4c011bd21228a96f881b4057 ELPLista0/obj/Debug/netcoreapp2.0/ELP - Lista 0 - Exerc�cios Resolvidos e Comentados.csproj.CoreCompileInputs.cache 60a1d4eb5cdfca3a575fa465ac21a5bee4f1d451 ELPLista0/obj/Debug/netcoreapp2.0/ELP - Lista 0 - Exerc�cios Resolvidos e Comentados.csproj.FileListAbsolute.txt D:\Documents\Visual Studio Code Projects\ELP - Lista 0 - Exercícios Resolvidos e Comentados\bin\Debug\netcoreapp2.0\ELP - Lista 0 - Exercícios Resolvidos e Comentados.deps.json D:\Documents\Visual Studio Code Projects\ELP - Lista 0 - Exercícios Resolvidos e Comentados\bin\Debug\netcoreapp2.0\ELP - Lista 0 - Exercícios Resolvidos e Comentados.runtimeconfig.json D:\Documents\Visual Studio Code Projects\ELP - Lista 0 - Exercícios Resolvidos e Comentados\bin\Debug\netcoreapp2.0\ELP - Lista 0 - Exercícios Resolvidos e Comentados.runtimeconfig.dev.json D:\Documents\Visual Studio Code Projects\ELP - Lista 0 - Exercícios Resolvidos e Comentados\bin\Debug\netcoreapp2.0\ELP - Lista 0 - Exercícios Resolvidos e Comentados.dll D:\Documents\Visual Studio Code Projects\ELP - Lista 0 - Exercícios Resolvidos e Comentados\bin\Debug\netcoreapp2.0\ELP - Lista 0 - Exercícios Resolvidos e Comentados.pdb D:\Documents\Visual Studio Code Projects\ELP - Lista 0 - Exercícios Resolvidos e Comentados\obj\Debug\netcoreapp2.0\ELP - Lista 0 - Exercícios Resolvidos e Comentados.csproj.CoreCompileInputs.cache D:\Documents\Visual Studio Code Projects\ELP - Lista 0 - Exercícios Resolvidos e Comentados\obj\Debug\netcoreapp2.0\ELP - Lista 0 - Exercícios Resolvidos e Comentados.AssemblyInfoInputs.cache D:\Documents\Visual Studio Code Projects\ELP - Lista 0 - Exercícios Resolvidos e Comentados\obj\Debug\netcoreapp2.0\ELP - Lista 0 - Exercícios Resolvidos e Comentados.AssemblyInfo.cs D:\Documents\Visual Studio Code Projects\ELP - Lista 0 - Exercícios Resolvidos e Comentados\obj\Debug\netcoreapp2.0\ELP - Lista 0 - Exercícios Resolvidos e Comentados.dll D:\Documents\Visual Studio Code Projects\ELP - Lista 0 - Exercícios Resolvidos e Comentados\obj\Debug\netcoreapp2.0\ELP - Lista 0 - Exercícios Resolvidos e Comentados.pdb D:\Documents\Visual Studio Code Projects\Exercises\ELPLista0\bin\Debug\netcoreapp2.0\ELP - Lista 0 - Exercícios Resolvidos e Comentados.deps.json D:\Documents\Visual Studio Code Projects\Exercises\ELPLista0\bin\Debug\netcoreapp2.0\ELP - Lista 0 - Exercícios Resolvidos e Comentados.runtimeconfig.json D:\Documents\Visual Studio Code Projects\Exercises\ELPLista0\bin\Debug\netcoreapp2.0\ELP - Lista 0 - Exercícios Resolvidos e Comentados.runtimeconfig.dev.json D:\Documents\Visual Studio Code Projects\Exercises\ELPLista0\bin\Debug\netcoreapp2.0\ELP - Lista 0 - Exercícios Resolvidos e Comentados.dll D:\Documents\Visual Studio Code Projects\Exercises\ELPLista0\bin\Debug\netcoreapp2.0\ELP - Lista 0 - Exercícios Resolvidos e Comentados.pdb D:\Documents\Visual Studio Code Projects\Exercises\ELPLista0\obj\Debug\netcoreapp2.0\ELP - Lista 0 - Exercícios Resolvidos e Comentados.csproj.CoreCompileInputs.cache D:\Documents\Visual Studio Code Projects\Exercises\ELPLista0\obj\Debug\netcoreapp2.0\ELP - Lista 0 - Exercícios Resolvidos e Comentados.AssemblyInfoInputs.cache D:\Documents\Visual Studio Code Projects\Exercises\ELPLista0\obj\Debug\netcoreapp2.0\ELP - Lista 0 - Exercícios Resolvidos e Comentados.AssemblyInfo.cs D:\Documents\Visual Studio Code Projects\Exercises\ELPLista0\obj\Debug\netcoreapp2.0\ELP - Lista 0 - Exercícios Resolvidos e Comentados.dll D:\Documents\Visual Studio Code Projects\Exercises\ELPLista0\obj\Debug\netcoreapp2.0\ELP - Lista 0 - Exercícios Resolvidos e Comentados.pdb ELPLista0/obj/Debug/netcoreapp2.0/ELP - Lista 0 - Exerc�cios Resolvidos e Comentados.dll ELPLista0/obj/Debug/netcoreapp2.0/ELP - Lista 0 - Exerc�cios Resolvidos e Comentados.pdb ELPLista0/obj/Debug/netcoreapp2.0/ELPLista0.AssemblyInfo.cs //------------------------------------------------------------------------------ // <auto-generated> // Generated by the MSBuild WriteCodeFragment class. // </auto-generated> //------------------------------------------------------------------------------ using System; using System.Reflection; [assembly: System.Reflection.AssemblyCompanyAttribute("ELPLista0")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyDescriptionAttribute("Package Description")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] [assembly: System.Reflection.AssemblyProductAttribute("ELPLista0")] [assembly: System.Reflection.AssemblyTitleAttribute("ELPLista0")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] ELPLista0/obj/Debug/netcoreapp2.0/ELPLista0.AssemblyInfoInputs.cache d89168d0559b4058e2cb3635ab6004e9d7c4e6d4 ELPLista0/obj/Debug/netcoreapp2.0/ELPLista0.csproj.CoreCompileInputs.cache 60a1d4eb5cdfca3a575fa465ac21a5bee4f1d451 ELPLista0/obj/Debug/netcoreapp2.0/ELPLista0.csproj.FileListAbsolute.txt D:\Documents\Visual Studio Code Projects\Exercises\ELPLista0\bin\Debug\netcoreapp2.0\ELPLista0.deps.json D:\Documents\Visual Studio Code Projects\Exercises\ELPLista0\bin\Debug\netcoreapp2.0\ELPLista0.runtimeconfig.json D:\Documents\Visual Studio Code Projects\Exercises\ELPLista0\bin\Debug\netcoreapp2.0\ELPLista0.runtimeconfig.dev.json D:\Documents\Visual Studio Code Projects\Exercises\ELPLista0\bin\Debug\netcoreapp2.0\ELPLista0.dll D:\Documents\Visual Studio Code Projects\Exercises\ELPLista0\bin\Debug\netcoreapp2.0\ELPLista0.pdb D:\Documents\Visual Studio Code Projects\Exercises\ELPLista0\obj\Debug\netcoreapp2.0\ELPLista0.csproj.CoreCompileInputs.cache D:\Documents\Visual Studio Code Projects\Exercises\ELPLista0\obj\Debug\netcoreapp2.0\ELPLista0.AssemblyInfoInputs.cache D:\Documents\Visual Studio Code Projects\Exercises\ELPLista0\obj\Debug\netcoreapp2.0\ELPLista0.AssemblyInfo.cs D:\Documents\Visual Studio Code Projects\Exercises\ELPLista0\obj\Debug\netcoreapp2.0\ELPLista0.dll D:\Documents\Visual Studio Code Projects\Exercises\ELPLista0\obj\Debug\netcoreapp2.0\ELPLista0.pdb ELPLista0/obj/Debug/netcoreapp2.0/ELPLista0.dll ELPLista0/obj/Debug/netcoreapp2.0/ELPLista0.pdb ELPLista0/obj/ELP - Lista 0 - Exerc�cios Resolvidos e Comentados.csproj.nuget.cache { "version": 1, "dgSpecHash": "uPqr07HtTEt3fhTHCN5NsWqAI6U3ypSjQ7TTN1pKVYunhe6mzDqlFWuP7MK32z8n1BTLXmvIP344sGs3FrbuJg==", "success": true } ELPLista0/obj/ELP - Lista 0 - Exerc�cios Resolvidos e Comentados.csproj.nuget.g.props True NuGet D:\Documents\Visual Studio Code Projects\Exercises\ELPLista0\obj\project.assets.json $(UserProfile)\.nuget\packages\ C:\Users\Augusto\.nuget\packages\;C:\Program Files\dotnet\sdk\NuGetFallbackFolder PackageReference 4.3.0 $(MSBuildAllProjects);$(MSBuildThisFileFullPath) ELPLista0/obj/ELP - Lista 0 - Exerc�cios Resolvidos e Comentados.csproj.nuget.g.targets $(MSBuildAllProjects);$(MSBuildThisFileFullPath) ELPLista0/obj/ELPLista0.csproj.nuget.cache { "version": 1, "dgSpecHash": "AsY/qE4ccWEgNnKfbjeHzp9IwdNu0pNL+lQvSUWUPQLeYEYwMnyBjvgifVPYcCvyMiJi8h9sPPoDEzm7DAqy6g==", "success": true } ELPLista0/obj/ELPLista0.csproj.nuget.g.props True NuGet D:\Documents\Visual Studio Code Projects\Exercises\ELPLista0\obj\project.assets.json $(UserProfile)\.nuget\packages\ C:\Users\Augusto\.nuget\packages\;C:\Program Files\dotnet\sdk\NuGetFallbackFolder PackageReference 4.3.0 $(MSBuildAllProjects);$(MSBuildThisFileFullPath) ELPLista0/obj/ELPLista0.csproj.nuget.g.targets $(MSBuildAllProjects);$(MSBuildThisFileFullPath) ELPLista0/obj/project.assets.json { "version": 3, "targets": { ".NETCoreApp,Version=v2.0": { "Microsoft.NETCore.App/2.0.0": { "type": "package", "dependencies": { "Microsoft.NETCore.DotNetHostPolicy": "2.0.0", "Microsoft.NETCore.Platforms": "2.0.0", "NETStandard.Library": "2.0.0" }, "compile": { "ref/netcoreapp2.0/Microsoft.CSharp.dll": {}, "ref/netcoreapp2.0/Microsoft.VisualBasic.dll": {}, "ref/netcoreapp2.0/Microsoft.Win32.Primitives.dll": {}, "ref/netcoreapp2.0/System.AppContext.dll": {}, "ref/netcoreapp2.0/System.Buffers.dll": {}, "ref/netcoreapp2.0/System.Collections.Concurrent.dll": {}, "ref/netcoreapp2.0/System.Collections.Immutable.dll": {}, "ref/netcoreapp2.0/System.Collections.NonGeneric.dll": {}, "ref/netcoreapp2.0/System.Collections.Specialized.dll": {}, "ref/netcoreapp2.0/System.Collections.dll": {}, "ref/netcoreapp2.0/System.ComponentModel.Annotations.dll": {}, "ref/netcoreapp2.0/System.ComponentModel.Composition.dll": {}, "ref/netcoreapp2.0/System.ComponentModel.DataAnnotations.dll": {}, "ref/netcoreapp2.0/System.ComponentModel.EventBasedAsync.dll": {}, "ref/netcoreapp2.0/System.ComponentModel.Primitives.dll": {}, "ref/netcoreapp2.0/System.ComponentModel.TypeConverter.dll": {}, "ref/netcoreapp2.0/System.ComponentModel.dll": {}, "ref/netcoreapp2.0/System.Configuration.dll": {}, "ref/netcoreapp2.0/System.Console.dll": {}, "ref/netcoreapp2.0/System.Core.dll": {}, "ref/netcoreapp2.0/System.Data.Common.dll": {}, "ref/netcoreapp2.0/System.Data.dll": {}, "ref/netcoreapp2.0/System.Diagnostics.Contracts.dll": {}, "ref/netcoreapp2.0/System.Diagnostics.Debug.dll": {}, "ref/netcoreapp2.0/System.Diagnostics.DiagnosticSource.dll": {}, "ref/netcoreapp2.0/System.Diagnostics.FileVersionInfo.dll": {}, "ref/netcoreapp2.0/System.Diagnostics.Process.dll": {}, "ref/netcoreapp2.0/System.Diagnostics.StackTrace.dll": {}, "ref/netcoreapp2.0/System.Diagnostics.TextWriterTraceListener.dll": {}, "ref/netcoreapp2.0/System.Diagnostics.Tools.dll": {}, "ref/netcoreapp2.0/System.Diagnostics.TraceSource.dll": {}, "ref/netcoreapp2.0/System.Diagnostics.Tracing.dll": {}, "ref/netcoreapp2.0/System.Drawing.Primitives.dll": {}, "ref/netcoreapp2.0/System.Drawing.dll": {}, "ref/netcoreapp2.0/System.Dynamic.Runtime.dll": {}, "ref/netcoreapp2.0/System.Globalization.Calendars.dll": {}, "ref/netcoreapp2.0/System.Globalization.Extensions.dll": {}, "ref/netcoreapp2.0/System.Globalization.dll": {}, "ref/netcoreapp2.0/System.IO.Compression.FileSystem.dll": {}, "ref/netcoreapp2.0/System.IO.Compression.ZipFile.dll": {}, "ref/netcoreapp2.0/System.IO.Compression.dll": {}, "ref/netcoreapp2.0/System.IO.FileSystem.DriveInfo.dll": {}, "ref/netcoreapp2.0/System.IO.FileSystem.Primitives.dll": {}, "ref/netcoreapp2.0/System.IO.FileSystem.Watcher.dll": {}, "ref/netcoreapp2.0/System.IO.FileSystem.dll": {}, "ref/netcoreapp2.0/System.IO.IsolatedStorage.dll": {}, "ref/netcoreapp2.0/System.IO.MemoryMappedFiles.dll": {}, "ref/netcoreapp2.0/System.IO.Pipes.dll": {}, "ref/netcoreapp2.0/System.IO.UnmanagedMemoryStream.dll": {}, "ref/netcoreapp2.0/System.IO.dll": {}, "ref/netcoreapp2.0/System.Linq.Expressions.dll": {}, "ref/netcoreapp2.0/System.Linq.Parallel.dll": {}, "ref/netcoreapp2.0/System.Linq.Queryable.dll": {}, "ref/netcoreapp2.0/System.Linq.dll": {}, "ref/netcoreapp2.0/System.Net.Http.dll": {}, "ref/netcoreapp2.0/System.Net.HttpListener.dll": {}, "ref/netcoreapp2.0/System.Net.Mail.dll": {}, "ref/netcoreapp2.0/System.Net.NameResolution.dll": {}, "ref/netcoreapp2.0/System.Net.NetworkInformation.dll": {}, "ref/netcoreapp2.0/System.Net.Ping.dll": {}, "ref/netcoreapp2.0/System.Net.Primitives.dll": {}, "ref/netcoreapp2.0/System.Net.Requests.dll": {}, "ref/netcoreapp2.0/System.Net.Security.dll": {}, "ref/netcoreapp2.0/System.Net.ServicePoint.dll": {}, "ref/netcoreapp2.0/System.Net.Sockets.dll": {}, "ref/netcoreapp2.0/System.Net.WebClient.dll": {}, "ref/netcoreapp2.0/System.Net.WebHeaderCollection.dll": {}, "ref/netcoreapp2.0/System.Net.WebProxy.dll": {}, "ref/netcoreapp2.0/System.Net.WebSockets.Client.dll": {}, "ref/netcoreapp2.0/System.Net.WebSockets.dll": {}, "ref/netcoreapp2.0/System.Net.dll": {}, "ref/netcoreapp2.0/System.Numerics.Vectors.dll": {}, "ref/netcoreapp2.0/System.Numerics.dll": {}, "ref/netcoreapp2.0/System.ObjectModel.dll": {}, "ref/netcoreapp2.0/System.Reflection.DispatchProxy.dll": {}, "ref/netcoreapp2.0/System.Reflection.Emit.ILGeneration.dll": {}, "ref/netcoreapp2.0/System.Reflection.Emit.Lightweight.dll": {}, "ref/netcoreapp2.0/System.Reflection.Emit.dll": {}, "ref/netcoreapp2.0/System.Reflection.Extensions.dll": {}, "ref/netcoreapp2.0/System.Reflection.Metadata.dll": {}, "ref/netcoreapp2.0/System.Reflection.Primitives.dll": {}, "ref/netcoreapp2.0/System.Reflection.TypeExtensions.dll": {}, "ref/netcoreapp2.0/System.Reflection.dll": {}, "ref/netcoreapp2.0/System.Resources.Reader.dll": {}, "ref/netcoreapp2.0/System.Resources.ResourceManager.dll": {}, "ref/netcoreapp2.0/System.Resources.Writer.dll": {}, "ref/netcoreapp2.0/System.Runtime.CompilerServices.VisualC.dll": {}, "ref/netcoreapp2.0/System.Runtime.Extensions.dll": {}, "ref/netcoreapp2.0/System.Runtime.Handles.dll": {}, "ref/netcoreapp2.0/System.Runtime.InteropServices.RuntimeInformation.dll": {}, "ref/netcoreapp2.0/System.Runtime.InteropServices.WindowsRuntime.dll": {}, "ref/netcoreapp2.0/System.Runtime.InteropServices.dll": {}, "ref/netcoreapp2.0/System.Runtime.Loader.dll": {}, "ref/netcoreapp2.0/System.Runtime.Numerics.dll": {}, "ref/netcoreapp2.0/System.Runtime.Serialization.Formatters.dll": {}, "ref/netcoreapp2.0/System.Runtime.Serialization.Json.dll": {}, "ref/netcoreapp2.0/System.Runtime.Serialization.Primitives.dll": {}, "ref/netcoreapp2.0/System.Runtime.Serialization.Xml.dll": {}, "ref/netcoreapp2.0/System.Runtime.Serialization.dll": {}, "ref/netcoreapp2.0/System.Runtime.dll": {}, "ref/netcoreapp2.0/System.Security.Claims.dll": {}, "ref/netcoreapp2.0/System.Security.Cryptography.Algorithms.dll": {}, "ref/netcoreapp2.0/System.Security.Cryptography.Csp.dll": {}, "ref/netcoreapp2.0/System.Security.Cryptography.Encoding.dll": {}, "ref/netcoreapp2.0/System.Security.Cryptography.Primitives.dll": {}, "ref/netcoreapp2.0/System.Security.Cryptography.X509Certificates.dll": {}, "ref/netcoreapp2.0/System.Security.Principal.dll": {}, "ref/netcoreapp2.0/System.Security.SecureString.dll": {}, "ref/netcoreapp2.0/System.Security.dll": {}, "ref/netcoreapp2.0/System.ServiceModel.Web.dll": {}, "ref/netcoreapp2.0/System.ServiceProcess.dll": {}, "ref/netcoreapp2.0/System.Text.Encoding.Extensions.dll": {}, "ref/netcoreapp2.0/System.Text.Encoding.dll": {}, "ref/netcoreapp2.0/System.Text.RegularExpressions.dll": {}, "ref/netcoreapp2.0/System.Threading.Overlapped.dll": {}, "ref/netcoreapp2.0/System.Threading.Tasks.Dataflow.dll": {}, "ref/netcoreapp2.0/System.Threading.Tasks.Extensions.dll": {}, "ref/netcoreapp2.0/System.Threading.Tasks.Parallel.dll": {}, "ref/netcoreapp2.0/System.Threading.Tasks.dll": {}, "ref/netcoreapp2.0/System.Threading.Thread.dll": {}, "ref/netcoreapp2.0/System.Threading.ThreadPool.dll": {}, "ref/netcoreapp2.0/System.Threading.Timer.dll": {}, "ref/netcoreapp2.0/System.Threading.dll": {}, "ref/netcoreapp2.0/System.Transactions.Local.dll": {}, "ref/netcoreapp2.0/System.Transactions.dll": {}, "ref/netcoreapp2.0/System.ValueTuple.dll": {}, "ref/netcoreapp2.0/System.Web.HttpUtility.dll": {}, "ref/netcoreapp2.0/System.Web.dll": {}, "ref/netcoreapp2.0/System.Windows.dll": {}, "ref/netcoreapp2.0/System.Xml.Linq.dll": {}, "ref/netcoreapp2.0/System.Xml.ReaderWriter.dll": {}, "ref/netcoreapp2.0/System.Xml.Serialization.dll": {}, "ref/netcoreapp2.0/System.Xml.XDocument.dll": {}, "ref/netcoreapp2.0/System.Xml.XPath.XDocument.dll": {}, "ref/netcoreapp2.0/System.Xml.XPath.dll": {}, "ref/netcoreapp2.0/System.Xml.XmlDocument.dll": {}, "ref/netcoreapp2.0/System.Xml.XmlSerializer.dll": {}, "ref/netcoreapp2.0/System.Xml.dll": {}, "ref/netcoreapp2.0/System.dll": {}, "ref/netcoreapp2.0/WindowsBase.dll": {}, "ref/netcoreapp2.0/mscorlib.dll": {}, "ref/netcoreapp2.0/netstandard.dll": {} }, "build": { "build/netcoreapp2.0/Microsoft.NETCore.App.props": {}, "build/netcoreapp2.0/Microsoft.NETCore.App.targets": {} } }, "Microsoft.NETCore.DotNetAppHost/2.0.0": { "type": "package" }, "Microsoft.NETCore.DotNetHostPolicy/2.0.0": { "type": "package", "dependencies": { "Microsoft.NETCore.DotNetHostResolver": "2.0.0" } }, "Microsoft.NETCore.DotNetHostResolver/2.0.0": { "type": "package", "dependencies": { "Microsoft.NETCore.DotNetAppHost": "2.0.0" } }, "Microsoft.NETCore.Platforms/2.0.0": { "type": "package", "compile": { "lib/netstandard1.0/_._": {} }, "runtime": { "lib/netstandard1.0/_._": {} } }, "NETStandard.Library/2.0.0": { "type": "package", "dependencies": { "Microsoft.NETCore.Platforms": "1.1.0" }, "compile": { "lib/netstandard1.0/_._": {} }, "runtime": { "lib/netstandard1.0/_._": {} }, "build": { "build/netstandard2.0/NETStandard.Library.targets": {} } } } }, "libraries": { "Microsoft.NETCore.App/2.0.0": { "sha512": "/mzXF+UtZef+VpzzN88EpvFq5U6z4rj54ZMq/J968H6pcvyLOmcupmTRpJ3CJm8ILoCGh9WI7qpDdiKtuzswrQ==", "type": "package", "path": "microsoft.netcore.app/2.0.0", "files": [ "LICENSE.TXT", "Microsoft.NETCore.App.versions.txt", "THIRD-PARTY-NOTICES.TXT", "build/netcoreapp2.0/Microsoft.NETCore.App.PlatformManifest.txt", "build/netcoreapp2.0/Microsoft.NETCore.App.props", "build/netcoreapp2.0/Microsoft.NETCore.App.targets", "microsoft.netcore.app.2.0.0.nupkg.sha512", "microsoft.netcore.app.nuspec", "ref/netcoreapp/_._", "ref/netcoreapp2.0/Microsoft.CSharp.dll", "ref/netcoreapp2.0/Microsoft.CSharp.xml", "ref/netcoreapp2.0/Microsoft.VisualBasic.dll", "ref/netcoreapp2.0/Microsoft.VisualBasic.xml", "ref/netcoreapp2.0/Microsoft.Win32.Primitives.dll", "ref/netcoreapp2.0/Microsoft.Win32.Primitives.xml", "ref/netcoreapp2.0/System.AppContext.dll", "ref/netcoreapp2.0/System.AppContext.xml", "ref/netcoreapp2.0/System.Buffers.dll", "ref/netcoreapp2.0/System.Buffers.xml", "ref/netcoreapp2.0/System.Collections.Concurrent.dll", "ref/netcoreapp2.0/System.Collections.Concurrent.xml", "ref/netcoreapp2.0/System.Collections.Immutable.dll", "ref/netcoreapp2.0/System.Collections.Immutable.xml", "ref/netcoreapp2.0/System.Collections.NonGeneric.dll", "ref/netcoreapp2.0/System.Collections.NonGeneric.xml", "ref/netcoreapp2.0/System.Collections.Specialized.dll", "ref/netcoreapp2.0/System.Collections.Specialized.xml", "ref/netcoreapp2.0/System.Collections.dll", "ref/netcoreapp2.0/System.Collections.xml", "ref/netcoreapp2.0/System.ComponentModel.Annotations.dll", "ref/netcoreapp2.0/System.ComponentModel.Annotations.xml", "ref/netcoreapp2.0/System.ComponentModel.Composition.dll", "ref/netcoreapp2.0/System.ComponentModel.DataAnnotations.dll", "ref/netcoreapp2.0/System.ComponentModel.EventBasedAsync.dll", "ref/netcoreapp2.0/System.ComponentModel.EventBasedAsync.xml", "ref/netcoreapp2.0/System.ComponentModel.Primitives.dll", "ref/netcoreapp2.0/System.ComponentModel.Primitives.xml", "ref/netcoreapp2.0/System.ComponentModel.TypeConverter.dll", "ref/netcoreapp2.0/System.ComponentModel.TypeConverter.xml", "ref/netcoreapp2.0/System.ComponentModel.dll", "ref/netcoreapp2.0/System.ComponentModel.xml", "ref/netcoreapp2.0/System.Configuration.dll", "ref/netcoreapp2.0/System.Console.dll", "ref/netcoreapp2.0/System.Console.xml", "ref/netcoreapp2.0/System.Core.dll", "ref/netcoreapp2.0/System.Data.Common.dll", "ref/netcoreapp2.0/System.Data.Common.xml", "ref/netcoreapp2.0/System.Data.dll", "ref/netcoreapp2.0/System.Diagnostics.Contracts.dll", "ref/netcoreapp2.0/System.Diagnostics.Contracts.xml", "ref/netcoreapp2.0/System.Diagnostics.Debug.dll", "ref/netcoreapp2.0/System.Diagnostics.Debug.xml", "ref/netcoreapp2.0/System.Diagnostics.DiagnosticSource.dll", "ref/netcoreapp2.0/System.Diagnostics.DiagnosticSource.xml", "ref/netcoreapp2.0/System.Diagnostics.FileVersionInfo.dll", "ref/netcoreapp2.0/System.Diagnostics.FileVersionInfo.xml", "ref/netcoreapp2.0/System.Diagnostics.Process.dll", "ref/netcoreapp2.0/System.Diagnostics.Process.xml", "ref/netcoreapp2.0/System.Diagnostics.StackTrace.dll", "ref/netcoreapp2.0/System.Diagnostics.StackTrace.xml", "ref/netcoreapp2.0/System.Diagnostics.TextWriterTraceListener.dll", "ref/netcoreapp2.0/System.Diagnostics.TextWriterTraceListener.xml", "ref/netcoreapp2.0/System.Diagnostics.Tools.dll", "ref/netcoreapp2.0/System.Diagnostics.Tools.xml", "ref/netcoreapp2.0/System.Diagnostics.TraceSource.dll", "ref/netcoreapp2.0/System.Diagnostics.TraceSource.xml", "ref/netcoreapp2.0/System.Diagnostics.Tracing.dll", "ref/netcoreapp2.0/System.Diagnostics.Tracing.xml", "ref/netcoreapp2.0/System.Drawing.Primitives.dll", "ref/netcoreapp2.0/System.Drawing.Primitives.xml", "ref/netcoreapp2.0/System.Drawing.dll", "ref/netcoreapp2.0/System.Dynamic.Runtime.dll", "ref/netcoreapp2.0/System.Dynamic.Runtime.xml", "ref/netcoreapp2.0/System.Globalization.Calendars.dll", "ref/netcoreapp2.0/System.Globalization.Calendars.xml", "ref/netcoreapp2.0/System.Globalization.Extensions.dll", "ref/netcoreapp2.0/System.Globalization.Extensions.xml", "ref/netcoreapp2.0/System.Globalization.dll", "ref/netcoreapp2.0/System.Globalization.xml", "ref/netcoreapp2.0/System.IO.Compression.FileSystem.dll", "ref/netcoreapp2.0/System.IO.Compression.ZipFile.dll", "ref/netcoreapp2.0/System.IO.Compression.ZipFile.xml", "ref/netcoreapp2.0/System.IO.Compression.dll", "ref/netcoreapp2.0/System.IO.Compression.xml", "ref/netcoreapp2.0/System.IO.FileSystem.DriveInfo.dll", "ref/netcoreapp2.0/System.IO.FileSystem.DriveInfo.xml", "ref/netcoreapp2.0/System.IO.FileSystem.Primitives.dll", "ref/netcoreapp2.0/System.IO.FileSystem.Primitives.xml", "ref/netcoreapp2.0/System.IO.FileSystem.Watcher.dll", "ref/netcoreapp2.0/System.IO.FileSystem.Watcher.xml", "ref/netcoreapp2.0/System.IO.FileSystem.dll", "ref/netcoreapp2.0/System.IO.FileSystem.xml", "ref/netcoreapp2.0/System.IO.IsolatedStorage.dll", "ref/netcoreapp2.0/System.IO.IsolatedStorage.xml", "ref/netcoreapp2.0/System.IO.MemoryMappedFiles.dll", "ref/netcoreapp2.0/System.IO.MemoryMappedFiles.xml", "ref/netcoreapp2.0/System.IO.Pipes.dll", "ref/netcoreapp2.0/System.IO.Pipes.xml", "ref/netcoreapp2.0/System.IO.UnmanagedMemoryStream.dll", "ref/netcoreapp2.0/System.IO.UnmanagedMemoryStream.xml", "ref/netcoreapp2.0/System.IO.dll", "ref/netcoreapp2.0/System.IO.xml", "ref/netcoreapp2.0/System.Linq.Expressions.dll", "ref/netcoreapp2.0/System.Linq.Expressions.xml", "ref/netcoreapp2.0/System.Linq.Parallel.dll", "ref/netcoreapp2.0/System.Linq.Parallel.xml", "ref/netcoreapp2.0/System.Linq.Queryable.dll", "ref/netcoreapp2.0/System.Linq.Queryable.xml", "ref/netcoreapp2.0/System.Linq.dll", "ref/netcoreapp2.0/System.Linq.xml", "ref/netcoreapp2.0/System.Net.Http.dll", "ref/netcoreapp2.0/System.Net.Http.xml", "ref/netcoreapp2.0/System.Net.HttpListener.dll", "ref/netcoreapp2.0/System.Net.HttpListener.xml", "ref/netcoreapp2.0/System.Net.Mail.dll", "ref/netcoreapp2.0/System.Net.Mail.xml", "ref/netcoreapp2.0/System.Net.NameResolution.dll", "ref/netcoreapp2.0/System.Net.NameResolution.xml", "ref/netcoreapp2.0/System.Net.NetworkInformation.dll", "ref/netcoreapp2.0/System.Net.NetworkInformation.xml", "ref/netcoreapp2.0/System.Net.Ping.dll", "ref/netcoreapp2.0/System.Net.Ping.xml", "ref/netcoreapp2.0/System.Net.Primitives.dll", "ref/netcoreapp2.0/System.Net.Primitives.xml", "ref/netcoreapp2.0/System.Net.Requests.dll", "ref/netcoreapp2.0/System.Net.Requests.xml", "ref/netcoreapp2.0/System.Net.Security.dll", "ref/netcoreapp2.0/System.Net.Security.xml", "ref/netcoreapp2.0/System.Net.ServicePoint.dll", "ref/netcoreapp2.0/System.Net.ServicePoint.xml", "ref/netcoreapp2.0/System.Net.Sockets.dll", "ref/netcoreapp2.0/System.Net.Sockets.xml", "ref/netcoreapp2.0/System.Net.WebClient.dll", "ref/netcoreapp2.0/System.Net.WebClient.xml", "ref/netcoreapp2.0/System.Net.WebHeaderCollection.dll", "ref/netcoreapp2.0/System.Net.WebHeaderCollection.xml", "ref/netcoreapp2.0/System.Net.WebProxy.dll", "ref/netcoreapp2.0/System.Net.WebProxy.xml", "ref/netcoreapp2.0/System.Net.WebSockets.Client.dll", "ref/netcoreapp2.0/System.Net.WebSockets.Client.xml", "ref/netcoreapp2.0/System.Net.WebSockets.dll", "ref/netcoreapp2.0/System.Net.WebSockets.xml", "ref/netcoreapp2.0/System.Net.dll", "ref/netcoreapp2.0/System.Numerics.Vectors.dll", "ref/netcoreapp2.0/System.Numerics.Vectors.xml", "ref/netcoreapp2.0/System.Numerics.dll", "ref/netcoreapp2.0/System.ObjectModel.dll", "ref/netcoreapp2.0/System.ObjectModel.xml", "ref/netcoreapp2.0/System.Reflection.DispatchProxy.dll", "ref/netcoreapp2.0/System.Reflection.DispatchProxy.xml", "ref/netcoreapp2.0/System.Reflection.Emit.ILGeneration.dll", "ref/netcoreapp2.0/System.Reflection.Emit.ILGeneration.xml", "ref/netcoreapp2.0/System.Reflection.Emit.Lightweight.dll", "ref/netcoreapp2.0/System.Reflection.Emit.Lightweight.xml", "ref/netcoreapp2.0/System.Reflection.Emit.dll", "ref/netcoreapp2.0/System.Reflection.Emit.xml", "ref/netcoreapp2.0/System.Reflection.Extensions.dll", "ref/netcoreapp2.0/System.Reflection.Extensions.xml", "ref/netcoreapp2.0/System.Reflection.Metadata.dll", "ref/netcoreapp2.0/System.Reflection.Metadata.xml", "ref/netcoreapp2.0/System.Reflection.Primitives.dll", "ref/netcoreapp2.0/System.Reflection.Primitives.xml", "ref/netcoreapp2.0/System.Reflection.TypeExtensions.dll", "ref/netcoreapp2.0/System.Reflection.TypeExtensions.xml", "ref/netcoreapp2.0/System.Reflection.dll", "ref/netcoreapp2.0/System.Reflection.xml", "ref/netcoreapp2.0/System.Resources.Reader.dll", "ref/netcoreapp2.0/System.Resources.Reader.xml", "ref/netcoreapp2.0/System.Resources.ResourceManager.dll", "ref/netcoreapp2.0/System.Resources.ResourceManager.xml", "ref/netcoreapp2.0/System.Resources.Writer.dll", "ref/netcoreapp2.0/System.Resources.Writer.xml", "ref/netcoreapp2.0/System.Runtime.CompilerServices.VisualC.dll", "ref/netcoreapp2.0/System.Runtime.CompilerServices.VisualC.xml", "ref/netcoreapp2.0/System.Runtime.Extensions.dll", "ref/netcoreapp2.0/System.Runtime.Extensions.xml", "ref/netcoreapp2.0/System.Runtime.Handles.dll", "ref/netcoreapp2.0/System.Runtime.Handles.xml", "ref/netcoreapp2.0/System.Runtime.InteropServices.RuntimeInformation.dll", "ref/netcoreapp2.0/System.Runtime.InteropServices.RuntimeInformation.xml", "ref/netcoreapp2.0/System.Runtime.InteropServices.WindowsRuntime.dll", "ref/netcoreapp2.0/System.Runtime.InteropServices.WindowsRuntime.xml", "ref/netcoreapp2.0/System.Runtime.InteropServices.dll", "ref/netcoreapp2.0/System.Runtime.InteropServices.xml", "ref/netcoreapp2.0/System.Runtime.Loader.dll", "ref/netcoreapp2.0/System.Runtime.Loader.xml", "ref/netcoreapp2.0/System.Runtime.Numerics.dll", "ref/netcoreapp2.0/System.Runtime.Numerics.xml", "ref/netcoreapp2.0/System.Runtime.Serialization.Formatters.dll", "ref/netcoreapp2.0/System.Runtime.Serialization.Formatters.xml", "ref/netcoreapp2.0/System.Runtime.Serialization.Json.dll", "ref/netcoreapp2.0/System.Runtime.Serialization.Json.xml", "ref/netcoreapp2.0/System.Runtime.Serialization.Primitives.dll", "ref/netcoreapp2.0/System.Runtime.Serialization.Primitives.xml", "ref/netcoreapp2.0/System.Runtime.Serialization.Xml.dll", "ref/netcoreapp2.0/System.Runtime.Serialization.Xml.xml", "ref/netcoreapp2.0/System.Runtime.Serialization.dll", "ref/netcoreapp2.0/System.Runtime.dll", "ref/netcoreapp2.0/System.Runtime.xml", "ref/netcoreapp2.0/System.Security.Claims.dll", "ref/netcoreapp2.0/System.Security.Claims.xml", "ref/netcoreapp2.0/System.Security.Cryptography.Algorithms.dll", "ref/netcoreapp2.0/System.Security.Cryptography.Algorithms.xml", "ref/netcoreapp2.0/System.Security.Cryptography.Csp.dll", "ref/netcoreapp2.0/System.Security.Cryptography.Csp.xml", "ref/netcoreapp2.0/System.Security.Cryptography.Encoding.dll", "ref/netcoreapp2.0/System.Security.Cryptography.Encoding.xml", "ref/netcoreapp2.0/System.Security.Cryptography.Primitives.dll", "ref/netcoreapp2.0/System.Security.Cryptography.Primitives.xml", "ref/netcoreapp2.0/System.Security.Cryptography.X509Certificates.dll", "ref/netcoreapp2.0/System.Security.Cryptography.X509Certificates.xml", "ref/netcoreapp2.0/System.Security.Principal.dll", "ref/netcoreapp2.0/System.Security.Principal.xml", "ref/netcoreapp2.0/System.Security.SecureString.dll", "ref/netcoreapp2.0/System.Security.SecureString.xml", "ref/netcoreapp2.0/System.Security.dll", "ref/netcoreapp2.0/System.ServiceModel.Web.dll", "ref/netcoreapp2.0/System.ServiceProcess.dll", "ref/netcoreapp2.0/System.Text.Encoding.Extensions.dll", "ref/netcoreapp2.0/System.Text.Encoding.Extensions.xml", "ref/netcoreapp2.0/System.Text.Encoding.dll", "ref/netcoreapp2.0/System.Text.Encoding.xml", "ref/netcoreapp2.0/System.Text.RegularExpressions.dll", "ref/netcoreapp2.0/System.Text.RegularExpressions.xml", "ref/netcoreapp2.0/System.Threading.Overlapped.dll", "ref/netcoreapp2.0/System.Threading.Overlapped.xml", "ref/netcoreapp2.0/System.Threading.Tasks.Dataflow.dll", "ref/netcoreapp2.0/System.Threading.Tasks.Dataflow.xml", "ref/netcoreapp2.0/System.Threading.Tasks.Extensions.dll", "ref/netcoreapp2.0/System.Threading.Tasks.Extensions.xml", "ref/netcoreapp2.0/System.Threading.Tasks.Parallel.dll", "ref/netcoreapp2.0/System.Threading.Tasks.Parallel.xml", "ref/netcoreapp2.0/System.Threading.Tasks.dll", "ref/netcoreapp2.0/System.Threading.Tasks.xml", "ref/netcoreapp2.0/System.Threading.Thread.dll", "ref/netcoreapp2.0/System.Threading.Thread.xml", "ref/netcoreapp2.0/System.Threading.ThreadPool.dll", "ref/netcoreapp2.0/System.Threading.ThreadPool.xml", "ref/netcoreapp2.0/System.Threading.Timer.dll", "ref/netcoreapp2.0/System.Threading.Timer.xml", "ref/netcoreapp2.0/System.Threading.dll", "ref/netcoreapp2.0/System.Threading.xml", "ref/netcoreapp2.0/System.Transactions.Local.dll", "ref/netcoreapp2.0/System.Transactions.Local.xml", "ref/netcoreapp2.0/System.Transactions.dll", "ref/netcoreapp2.0/System.ValueTuple.dll", "ref/netcoreapp2.0/System.ValueTuple.xml", "ref/netcoreapp2.0/System.Web.HttpUtility.dll", "ref/netcoreapp2.0/System.Web.HttpUtility.xml", "ref/netcoreapp2.0/System.Web.dll", "ref/netcoreapp2.0/System.Windows.dll", "ref/netcoreapp2.0/System.Xml.Linq.dll", "ref/netcoreapp2.0/System.Xml.ReaderWriter.dll", "ref/netcoreapp2.0/System.Xml.ReaderWriter.xml", "ref/netcoreapp2.0/System.Xml.Serialization.dll", "ref/netcoreapp2.0/System.Xml.XDocument.dll", "ref/netcoreapp2.0/System.Xml.XDocument.xml", "ref/netcoreapp2.0/System.Xml.XPath.XDocument.dll", "ref/netcoreapp2.0/System.Xml.XPath.XDocument.xml", "ref/netcoreapp2.0/System.Xml.XPath.dll", "ref/netcoreapp2.0/System.Xml.XPath.xml", "ref/netcoreapp2.0/System.Xml.XmlDocument.dll", "ref/netcoreapp2.0/System.Xml.XmlDocument.xml", "ref/netcoreapp2.0/System.Xml.XmlSerializer.dll", "ref/netcoreapp2.0/System.Xml.XmlSerializer.xml", "ref/netcoreapp2.0/System.Xml.dll", "ref/netcoreapp2.0/System.dll", "ref/netcoreapp2.0/WindowsBase.dll", "ref/netcoreapp2.0/mscorlib.dll", "ref/netcoreapp2.0/netstandard.dll", "runtime.json" ] }, "Microsoft.NETCore.DotNetAppHost/2.0.0": { "sha512": "L4GGkcI/Mxl8PKLRpFdGmLb5oI8sGIR05bDTGkzCoamAjdUl1Zhkov2swjEsZvKYT8kkdiz39LtwyGYuCJxm1A==", "type": "package", "path": "microsoft.netcore.dotnetapphost/2.0.0", "files": [ "LICENSE.TXT", "THIRD-PARTY-NOTICES.TXT", "microsoft.netcore.dotnetapphost.2.0.0.nupkg.sha512", "microsoft.netcore.dotnetapphost.nuspec", "runtime.json" ] }, "Microsoft.NETCore.DotNetHostPolicy/2.0.0": { "sha512": "rm7mMn0A93fwyAwVhbyOCcPuu2hZNL0A0dAur9sNG9pEkONPfCEQeF7m2mC8KpqZO0Ol6tpV5J0AF3HTXT3GXA==", "type": "package", "path": "microsoft.netcore.dotnethostpolicy/2.0.0", "files": [ "LICENSE.TXT", "THIRD-PARTY-NOTICES.TXT", "microsoft.netcore.dotnethostpolicy.2.0.0.nupkg.sha512", "microsoft.netcore.dotnethostpolicy.nuspec", "runtime.json" ] }, "Microsoft.NETCore.DotNetHostResolver/2.0.0": { "sha512": "uBbjpeSrwsaTCADZCzRk+3aBzNnMqkC4zftJWBsL+Zk+8u+W+/lMb2thM5Y4hiVrv1YQg9t6dKldXzOKkY+pQw==", "type": "package", "path": "microsoft.netcore.dotnethostresolver/2.0.0", "files": [ "LICENSE.TXT", "THIRD-PARTY-NOTICES.TXT", "microsoft.netcore.dotnethostresolver.2.0.0.nupkg.sha512", "microsoft.netcore.dotnethostresolver.nuspec", "runtime.json" ] }, "Microsoft.NETCore.Platforms/2.0.0": { "sha512": "VdLJOCXhZaEMY7Hm2GKiULmn7IEPFE4XC5LPSfBVCUIA8YLZVh846gtfBJalsPQF2PlzdD7ecX7DZEulJ402ZQ==", "type": "package", "path": "microsoft.netcore.platforms/2.0.0", "files": [ "LICENSE.TXT", "THIRD-PARTY-NOTICES.TXT", "lib/netstandard1.0/_._", "microsoft.netcore.platforms.2.0.0.nupkg.sha512", "microsoft.netcore.platforms.nuspec", "runtime.json", "useSharedDesignerContext.txt", "version.txt" ] }, "NETStandard.Library/2.0.0": { "sha512": "7jnbRU+L08FXKMxqUflxEXtVymWvNOrS8yHgu9s6EM8Anr6T/wIX4nZ08j/u3Asz+tCufp3YVwFSEvFTPYmBPA==", "type": "package", "path": "netstandard.library/2.0.0", "files": [ "LICENSE.TXT", "THIRD-PARTY-NOTICES.TXT", "build/NETStandard.Library.targets", "build/netstandard2.0/NETStandard.Library.targets", "build/netstandard2.0/ref/Microsoft.Win32.Primitives.dll", "build/netstandard2.0/ref/System.AppContext.dll", "build/netstandard2.0/ref/System.Collections.Concurrent.dll", "build/netstandard2.0/ref/System.Collections.NonGeneric.dll", "build/netstandard2.0/ref/System.Collections.Specialized.dll", "build/netstandard2.0/ref/System.Collections.dll", "build/netstandard2.0/ref/System.ComponentModel.Composition.dll", "build/netstandard2.0/ref/System.ComponentModel.EventBasedAsync.dll", "build/netstandard2.0/ref/System.ComponentModel.Primitives.dll", "build/netstandard2.0/ref/System.ComponentModel.TypeConverter.dll", "build/netstandard2.0/ref/System.ComponentModel.dll", "build/netstandard2.0/ref/System.Console.dll", "build/netstandard2.0/ref/System.Core.dll", "build/netstandard2.0/ref/System.Data.Common.dll", "build/netstandard2.0/ref/System.Data.dll", "build/netstandard2.0/ref/System.Diagnostics.Contracts.dll", "build/netstandard2.0/ref/System.Diagnostics.Debug.dll", "build/netstandard2.0/ref/System.Diagnostics.FileVersionInfo.dll", "build/netstandard2.0/ref/System.Diagnostics.Process.dll", "build/netstandard2.0/ref/System.Diagnostics.StackTrace.dll", "build/netstandard2.0/ref/System.Diagnostics.TextWriterTraceListener.dll", "build/netstandard2.0/ref/System.Diagnostics.Tools.dll", "build/netstandard2.0/ref/System.Diagnostics.TraceSource.dll", "build/netstandard2.0/ref/System.Diagnostics.Tracing.dll", "build/netstandard2.0/ref/System.Drawing.Primitives.dll", "build/netstandard2.0/ref/System.Drawing.dll", "build/netstandard2.0/ref/System.Dynamic.Runtime.dll", "build/netstandard2.0/ref/System.Globalization.Calendars.dll", "build/netstandard2.0/ref/System.Globalization.Extensions.dll", "build/netstandard2.0/ref/System.Globalization.dll", "build/netstandard2.0/ref/System.IO.Compression.FileSystem.dll", "build/netstandard2.0/ref/System.IO.Compression.ZipFile.dll", "build/netstandard2.0/ref/System.IO.Compression.dll", "build/netstandard2.0/ref/System.IO.FileSystem.DriveInfo.dll", "build/netstandard2.0/ref/System.IO.FileSystem.Primitives.dll", "build/netstandard2.0/ref/System.IO.FileSystem.Watcher.dll", "build/netstandard2.0/ref/System.IO.FileSystem.dll", "build/netstandard2.0/ref/System.IO.IsolatedStorage.dll", "build/netstandard2.0/ref/System.IO.MemoryMappedFiles.dll", "build/netstandard2.0/ref/System.IO.Pipes.dll", "build/netstandard2.0/ref/System.IO.UnmanagedMemoryStream.dll", "build/netstandard2.0/ref/System.IO.dll", "build/netstandard2.0/ref/System.Linq.Expressions.dll", "build/netstandard2.0/ref/System.Linq.Parallel.dll", "build/netstandard2.0/ref/System.Linq.Queryable.dll", "build/netstandard2.0/ref/System.Linq.dll", "build/netstandard2.0/ref/System.Net.Http.dll", "build/netstandard2.0/ref/System.Net.NameResolution.dll", "build/netstandard2.0/ref/System.Net.NetworkInformation.dll", "build/netstandard2.0/ref/System.Net.Ping.dll", "build/netstandard2.0/ref/System.Net.Primitives.dll", "build/netstandard2.0/ref/System.Net.Requests.dll", "build/netstandard2.0/ref/System.Net.Security.dll", "build/netstandard2.0/ref/System.Net.Sockets.dll", "build/netstandard2.0/ref/System.Net.WebHeaderCollection.dll", "build/netstandard2.0/ref/System.Net.WebSockets.Client.dll", "build/netstandard2.0/ref/System.Net.WebSockets.dll", "build/netstandard2.0/ref/System.Net.dll", "build/netstandard2.0/ref/System.Numerics.dll", "build/netstandard2.0/ref/System.ObjectModel.dll", "build/netstandard2.0/ref/System.Reflection.Extensions.dll", "build/netstandard2.0/ref/System.Reflection.Primitives.dll", "build/netstandard2.0/ref/System.Reflection.dll", "build/netstandard2.0/ref/System.Resources.Reader.dll", "build/netstandard2.0/ref/System.Resources.ResourceManager.dll", "build/netstandard2.0/ref/System.Resources.Writer.dll", "build/netstandard2.0/ref/System.Runtime.CompilerServices.VisualC.dll", "build/netstandard2.0/ref/System.Runtime.Extensions.dll", "build/netstandard2.0/ref/System.Runtime.Handles.dll", "build/netstandard2.0/ref/System.Runtime.InteropServices.RuntimeInformation.dll", "build/netstandard2.0/ref/System.Runtime.InteropServices.dll", "build/netstandard2.0/ref/System.Runtime.Numerics.dll", "build/netstandard2.0/ref/System.Runtime.Serialization.Formatters.dll", "build/netstandard2.0/ref/System.Runtime.Serialization.Json.dll", "build/netstandard2.0/ref/System.Runtime.Serialization.Primitives.dll", "build/netstandard2.0/ref/System.Runtime.Serialization.Xml.dll", "build/netstandard2.0/ref/System.Runtime.Serialization.dll", "build/netstandard2.0/ref/System.Runtime.dll", "build/netstandard2.0/ref/System.Security.Claims.dll", "build/netstandard2.0/ref/System.Security.Cryptography.Algorithms.dll", "build/netstandard2.0/ref/System.Security.Cryptography.Csp.dll", "build/netstandard2.0/ref/System.Security.Cryptography.Encoding.dll", "build/netstandard2.0/ref/System.Security.Cryptography.Primitives.dll", "build/netstandard2.0/ref/System.Security.Cryptography.X509Certificates.dll", "build/netstandard2.0/ref/System.Security.Principal.dll", "build/netstandard2.0/ref/System.Security.SecureString.dll", "build/netstandard2.0/ref/System.ServiceModel.Web.dll", "build/netstandard2.0/ref/System.Text.Encoding.Extensions.dll", "build/netstandard2.0/ref/System.Text.Encoding.dll", "build/netstandard2.0/ref/System.Text.RegularExpressions.dll", "build/netstandard2.0/ref/System.Threading.Overlapped.dll", "build/netstandard2.0/ref/System.Threading.Tasks.Parallel.dll", "build/netstandard2.0/ref/System.Threading.Tasks.dll", "build/netstandard2.0/ref/System.Threading.Thread.dll", "build/netstandard2.0/ref/System.Threading.ThreadPool.dll", "build/netstandard2.0/ref/System.Threading.Timer.dll", "build/netstandard2.0/ref/System.Threading.dll", "build/netstandard2.0/ref/System.Transactions.dll", "build/netstandard2.0/ref/System.ValueTuple.dll", "build/netstandard2.0/ref/System.Web.dll", "build/netstandard2.0/ref/System.Windows.dll", "build/netstandard2.0/ref/System.Xml.Linq.dll", "build/netstandard2.0/ref/System.Xml.ReaderWriter.dll", "build/netstandard2.0/ref/System.Xml.Serialization.dll", "build/netstandard2.0/ref/System.Xml.XDocument.dll", "build/netstandard2.0/ref/System.Xml.XPath.XDocument.dll", "build/netstandard2.0/ref/System.Xml.XPath.dll", "build/netstandard2.0/ref/System.Xml.XmlDocument.dll", "build/netstandard2.0/ref/System.Xml.XmlSerializer.dll", "build/netstandard2.0/ref/System.Xml.dll", "build/netstandard2.0/ref/System.dll", "build/netstandard2.0/ref/mscorlib.dll", "build/netstandard2.0/ref/netstandard.dll", "build/netstandard2.0/ref/netstandard.xml", "lib/netstandard1.0/_._", "netstandard.library.2.0.0.nupkg.sha512", "netstandard.library.nuspec" ] } }, "projectFileDependencyGroups": { ".NETCoreApp,Version=v2.0": [ "Microsoft.NETCore.App >= 2.0.0" ] }, "packageFolders": { "C:\\Users\\Augusto\\.nuget\\packages\\": {}, "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder": {} }, "project": { "version": "1.0.0", "restore": { "projectUniqueName": "D:\\Documents\\Visual Studio Code Projects\\Exercises\\ELPLista0\\ELPLista0.csproj", "projectName": "ELPLista0", "projectPath": "D:\\Documents\\Visual Studio Code Projects\\Exercises\\ELPLista0\\ELPLista0.csproj", "packagesPath": "C:\\Users\\Augusto\\.nuget\\packages\\", "outputPath": "D:\\Documents\\Visual Studio Code Projects\\Exercises\\ELPLista0\\obj\\", "projectStyle": "PackageReference", "fallbackFolders": [ "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" ], "configFilePaths": [ "C:\\Users\\Augusto\\AppData\\Roaming\\NuGet\\NuGet.Config", "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" ], "originalTargetFrameworks": [ "netcoreapp2.0" ], "sources": { "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, "https://api.nuget.org/v3/index.json": {} }, "frameworks": { "netcoreapp2.0": { "projectReferences": {} } }, "warningProperties": { "warnAsError": [ "NU1605" ] } }, "frameworks": { "netcoreapp2.0": { "dependencies": { "Microsoft.NETCore.App": { "target": "Package", "version": "2.0.0", "autoReferenced": true } }, "imports": [ "net461" ], "assetTargetFallback": true, "warn": true } } } } ELPLista0/Program.cs using System; namespace ELP___Lista_0___Exercícios_Resolvidos_e_Comentados { class Program { static void Main(string[] args) { EstruturasSequenciais es = new EstruturasSequenciais(); EstruturasCondicionais ec = new EstruturasCondicionais(); EstruturasDeRepeticao er = new EstruturasDeRepeticao(); Vetores v = new Vetores(); Matrizes m = new Matrizes(); //m.Ex04(); Registros r = new Registros(); //r.Ex01(); SubAlg s = new SubAlg(); s.Ex01(); } } } ELPLista0/Registros.cs using System; public class Registros { public struct Aluno { public string Nome; public float Nota1; public float Nota2; public float Media; public string r; } public void Ex01() { Aluno[] alunos = new Aluno[4]; for (int i = 0; i < alunos.Length; i++) { Console.WriteLine("Digite o Nome: "); alunos[i].Nome = Console.ReadLine(); System.Console.WriteLine("Digite Nota 1: "); alunos[i].Nota1 = int.Parse(Console.ReadLine()); System.Console.WriteLine("Digite nota 2: "); alunos[i].Nota2 = int.Parse(Console.ReadLine()); } for (int i = 0; i < alunos.Length; i++) { alunos[i].Media = (alunos[i].Nota1 + alunos[i].Nota2) / 2; if (alunos[i].Media < 7) alunos[i].r = "Reprovado"; else alunos[i].r = "Aprovado"; System.Console.WriteLine("Media: " + alunos[i].Media + " Resultado: " + alunos[i].r); } } } ELPLista0/SubAlg.cs using System; public class SubAlg { public void Ex01() { CheckPrimeNumber(41); } public void ReadArray(int size) { int[] a = new int[size]; for (int i = 0; i < a.Length; i++) { a[i] = int.Parse(Console.ReadLine()); } } public void ReadMatrix(int x, int y) { int[,] m = new int[x,y]; for (int i = 0; i < x; i++) { for (int j = 0; j < y; j++) { m[i,j] = int.Parse(Console.ReadLine()); } } } public int EvaluateFactorial(int n) { // !5 = 1*2*3*4*5 // !n = n + n * (n - 1) int fat = 1; for (int i = 0; i < n; i++) { fat = fat * (n - i); } return fat; } public void CheckPrimeNumber(int n) { int cont = 0; for (int i = 1; i <= n; i++) { if (n % i == 0) { cont++; } } if (cont == 2) { System.Console.WriteLine("Primo"); } else { System.Console.WriteLine("Nao e Primo"); } } } ELPLista0/Vetores.cs using System; public class Vetores { public void Ex01() { int[] v = new int[10]; // Ler vetor for (int i = 0; i < v.Length; i++) { Console.WriteLine("Diite um Numero: "); v[i] = int.Parse(Console.ReadLine()); } int menor = 0; // Verificar Vetor for (int i = 0; i < v.Length; i++) { if (v[i] < menor) menor = v[i]; } Console.WriteLine("Menor: " + menor); } public void Ex02() { int[] v = new int[1000]; Random rand = new Random(); // Prencher vetor com random for (int i = 0; i < v.Length; i++) { v[i] = rand.Next(0, v.Length); } // Verificar se existe Console.WriteLine("Digite um Numero de 0 a 1000"); int n = int.Parse(Console.ReadLine()); if (n <= 0 || n >= 1000) Console.WriteLine("Digite valores entre 0 e 1000!"); int pos = 0; for (int i = 0; i < v.Length; i++) { if (n == v[i]) { pos = i; Console.WriteLine("Encontrado!, Pos: " + pos); break; } } if (pos == 0) Console.WriteLine("Nao existe no vetor"); } public void Ex03() { int[] v = new int[6]; Random r = new Random(); for (int i = 0; i < v.Length; i++) { v[i] = r.Next(0, 100); } // Mostra Vetor for(int i = 0; i < v.Length; i++) { Console.Write(" "); Console.Write(v[i]); } Console.WriteLine(" "); // Inverte for(int i = v.Length; i > 0; i--) { Console.Write(" "); Console.Write(v[i - 1]); } } } ELPLista1/.vscode/launch.json { // Use IntelliSense to find out which attributes exist for C# debugging // Use hover for the description of the existing attributes // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md "version": "0.2.0", "configurations": [ { "name": ".NET Core Launch (console)", "type": "coreclr", "request": "launch", "preLaunchTask": "build", // If you have changed target frameworks, make sure to update the program path. "program": "${workspaceRoot}/bin/Debug/netcoreapp2.0/ELP - Lista 1 - Funções UFU.dll", "args": [], "cwd": "${workspaceRoot}", // For more information about the 'console' field, see https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md#console-terminal-window "console": "internalConsole", "stopAtEntry": false, "internalConsoleOptions": "openOnSessionStart" }, { "name": ".NET Core Attach", "type": "coreclr", "request": "attach", "processId": "${command:pickProcess}" } ] } ELPLista1/.vscode/tasks.json { "version": "0.1.0", "command": "dotnet", "isShellCommand": true, "args": [], "tasks": [ { "taskName": "build", "args": [ "${workspaceRoot}/ELP - Lista 1 - Funções UFU.csproj" ], "isBuildCommand": true, "problemMatcher": "$msCompile" } ] } ELPLista1/bin/Debug/netcoreapp2.0/ELP - Lista 1 - Funções UFU.deps.json { "runtimeTarget": { "name": ".NETCoreApp,Version=v2.0", "signature": "da39a3ee5e6b4b0d3255bfef95601890afd80709" }, "compilationOptions": {}, "targets": { ".NETCoreApp,Version=v2.0": { "ELP - Lista 1 - Funções UFU/1.0.0": { "runtime": { "ELP - Lista 1 - Funções UFU.dll": {} } } } }, "libraries": { "ELP - Lista 1 - Funções UFU/1.0.0": { "type": "project", "serviceable": false, "sha512": "" } } } ELPLista1/bin/Debug/netcoreapp2.0/ELP - Lista 1 - Funções UFU.dll ELPLista1/bin/Debug/netcoreapp2.0/ELP - Lista 1 - Funções UFU.pdb ELPLista1/bin/Debug/netcoreapp2.0/ELP - Lista 1 - Funções UFU.runtimeconfig.dev.json { "runtimeOptions": { "additionalProbingPaths": [ "C:\\Users\\Augusto\\.dotnet\\store\\|arch|\\|tfm|", "C:\\Users\\Augusto\\.nuget\\packages", "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" ] } } ELPLista1/bin/Debug/netcoreapp2.0/ELP - Lista 1 - Funções UFU.runtimeconfig.json { "runtimeOptions": { "tfm": "netcoreapp2.0", "framework": { "name": "Microsoft.NETCore.App", "version": "2.0.0" } } } ELPLista1/ELPLista1.csproj <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>Exe</OutputType> <TargetFramework>netcoreapp2.0</TargetFramework> </PropertyGroup> </Project> ELPLista1/Ex01.cs using System; public static class Ex01 { public static void Start() { int n = ReadInt(); int mod = Mod(n); Console.WriteLine("Modulo: " + mod); } public static int ReadInt() { Console.WriteLine("Digite um Numero: "); int n = int.Parse(Console.ReadLine()); return n; } public static int Mod(int n) { if (n < 0) return n * (-1); else return n; } } ELPLista1/Ex02.cs using System; public static class Ex02 { public static void Start() { System.Console.WriteLine("Type a number: "); float x = ReadNumber(); System.Console.WriteLine("Type a number: "); float y = ReadNumber(); float minor = Minor(x,y); float major = Major(x,y); System.Console.WriteLine("Minor: " + minor + " Major: " + major); } private static float ReadNumber() { int n = int.Parse(Console.ReadLine()); return n; } private static float Minor(float x, float y) { if (x < y) return x; return y; } private static float Major(float x, float y) { if (x > y) return x; return y; } } ELPLista1/Ex03.cs using System; public static class Ex03 { public static void Start() { System.Console.WriteLine("Type a number: "); float n = ReadNumber(); } private static float ReadNumber() { float n = float.Parse(Console.ReadLine()); return n; } private static float Hypotenuse(float a, float b) { float hyp = (float)Math.Sqrt(Math.Pow(a,2) + Math.Pow(b,2)); return hyp; } } ELPLista1/Ex04.cs using System; public static class Ex04 { public static void Start() { Console.WriteLine("Type and Temperature in Celsius: "); float t = ReadTemperature(); System.Console.WriteLine("In Fahreinheit: " + ToFahreineheit(t)); System.Console.WriteLine("In Kelvin: " + ToKelvin(t)); } private static float ReadTemperature() { float t = float.Parse(Console.ReadLine()); return t; } private static float ToFahreineheit(float t) { return ((9 * t) / 5 ) + 32; } private static float ToKelvin(float t) { return t + 273.15f; } } ELPLista1/Ex05.cs using System; public class Ex05 { public static void Start() { System.Console.WriteLine("Type a number to fill series: "); int n = ReadNumber(); System.Console.WriteLine("The sum of series is : " + SumSeries(n)); } private static int ReadNumber() { return int.Parse(Console.ReadLine()); } private static float SumSeries(int n) { float s = 0; for (int i = 1; i <= n; i++) { s = s + (1f / (2f * i)); } return s; } } ELPLista1/Ex07.cs using System; public static class Ex07 { public static void Start() { Console.WriteLine("Type N numbers for a new vector"); int n = int.Parse(Console.ReadLine()); WriteVector(GetSquaredVector(ReadVector(n))); } private static int[] ReadVector(int size) { int[] a = new int[size]; for(int i = 0; i < a.Length; i++) { Console.WriteLine("Type the: " + i + " Position."); a[i] = int.Parse(Console.ReadLine()); } return a; } private static int[] GetSquaredVector(int[] a) { int[] b = new int[a.Length]; for(int i = 0; i < a.Length; i++) { b[i] = (int)Math.Pow(a[i],2); } return b; } private static void WriteVector(int[] v) { for(int i = 0; i < v.Length; i++) { Console.Write(" "); Console.Write(v[i]); } } } ELPLista1/Ex08.cs using System; public static class Ex08 { private static int[] a; public static void Start() { System.Console.WriteLine("Type N size for the vector: "); int n = int.Parse(Console.ReadLine()); ReadArray(n); System.Console.WriteLine("Smallest Value in Array is: " + GetSmallestValue(a)); System.Console.WriteLine("Biggest value in Array is: " + GetBiggestValue(a)); } private static void ReadArray(int size) { a = new int[size]; for (int i = 0; i < a.Length; i++) { System.Console.WriteLine("Type the: " + i + " Position."); a[i] = int.Parse(Console.ReadLine()); } } private static int GetSmallestValue(int[] a) { // Set the initial smaller value to the first element in array. int smallest = a[0]; for (int i = 0; i < a.Length; i++) { if (a[i] < smallest) smallest = a[i]; } return smallest; } private static int GetBiggestValue(int[] a) { // Make sure the initial biggest value is the first element in array int biggest = a[0]; for (int i = 0; i < a.Length; i++) { if(a[i] > biggest) biggest = a[i]; } return biggest; } } ELPLista1/Ex09.cs using System; public static class Ex09 { private static int[,] m; public static void Start() { System.Console.WriteLine("Type the Matrix Lines Size: "); int l = int.Parse(Console.ReadLine()); System.Console.WriteLine("Type the Matrix Collums Size: "); int c = int.Parse(Console.ReadLine()); ReadMatrix(l,c); WriteMatrix(m); WriteMatrix(GetTransposeMatrix(m)); } private static void ReadMatrix(int l, int c) { m = new int[l, c]; Random rand = new Random(); for (int i = 0; i < l; i++) { for (int j = 0; j < c; j++) { m[i,j] = rand.Next(10,99); } } } private static int[,] GetTransposeMatrix(int[,] m) { int[,] t = new int[m.GetLength(1), m.GetLength(0)]; for (int i = 0; i < t.GetLength(0); i++) { for (int j = 0; j < t.GetLength(1); j++) { t[i, j] = m[j, i]; } } return t; } private static void WriteMatrix(int[,] m) { System.Console.WriteLine(); for (int i = 0; i < m.GetLength(0); i++) { System.Console.WriteLine(); for (int j = 0; j < m.GetLength(1); j++) { Console.Write(" "); Console.Write(m[i,j]); } } } } ELPLista1/Ex10.cs using System; public static class Ex10 { public static void Start() { System.Console.WriteLine("Type a Size for Matrix: "); int size = int.Parse(Console.ReadLine()); int[,] m = ReadMatrix(size); WriteMatrix(m); System.Console.WriteLine(); Console.WriteLine("The main Diagonal Sum is: " + GetMainDiagonalSum(m)); Console.WriteLine("The Secondary Diagonal Sum is: " + GetSecondaryDiagonalSum(m)); } private static int[,] ReadMatrix(int size) { int[,] m = new int[size, size]; Random rand = new Random(); for (int i = 0; i < size; i++) { for (int j = 0; j < size; j++) { m[i, j] = rand.Next(1, 9); } } return m; } private static int GetMainDiagonalSum(int[,] m) { int sum = 0; for (int i = 0; i < m.GetLength(0); i++) { for (int j = 0; j < m.GetLength(1); j++) { if (i == j) sum += m[i, j]; } } return sum; } private static int GetSecondaryDiagonalSum(int[,] m) { int sum = 0; for (int i = 0; i < m.GetLength(0); i++) { for (int j = 0 - 1; j < 0; j++) { if (j == (m.GetLength(0) - 1 - i)); } } return sum; } private static void WriteMatrix(int[,] m) { for (int i = 0; i < m.GetLength(0); i++) { System.Console.WriteLine(); for (int k = 0; k < m.GetLength(1); k++) { Console.Write(" "); Console.Write(m[i, k]); } } } } ELPLista1/Ex11.cs using System; public static class Ex11 { private static float[,] g; public static void Start() { System.Console.WriteLine("How many people's? "); int n = int.Parse(Console.ReadLine()); ReadData(n); System.Console.WriteLine("Biggest Height is: " + GetBiggestHeight()); System.Console.WriteLine("Sum of all under 60kg: " + HalfSumUnderWeight()); WriteData(); } private static void ReadData(int n) { g = new float[n,n]; for (int i = 0; i < n; i++) { System.Console.WriteLine("Type your Height: "); g[i,0] = float.Parse(Console.ReadLine()); for (int j = 1; j < n; j++) { System.Console.WriteLine("Type your Weight: "); g[i, j] = float.Parse(Console.ReadLine()); } } } private static float GetBiggestHeight() { float h = g[0,0]; for (int i = 0; i < g.GetLength(0); i++) { for (int j = 0; j < g.GetLength(1); j++) { if (g[i,j] > h) h = g[i,j]; } } return h; } private
Compartilhar