├── CursoCSharp ├── .vs │ └── CursoCSharp │ │ ├── DesignTimeBuild │ │ └── .dtbcache │ │ └── v15 │ │ ├── .suo │ │ └── Server │ │ └── sqlite3 │ │ ├── db.lock │ │ ├── storage.ide │ │ ├── storage.ide-shm │ │ └── storage.ide-wal ├── CursoCSharp.sln ├── CursoCSharp │ ├── Api │ │ ├── Diretorios.cs │ │ ├── ExemploDateTime.cs │ │ ├── ExemploDirectoryInfo.cs │ │ ├── ExemploFileInfo.cs │ │ ├── ExemploPath.cs │ │ ├── ExemploTimeSpan.cs │ │ ├── LendoArquivos.cs │ │ └── PrimeiroArquivo.cs │ ├── CentralDeExercicios.cs │ ├── ClassesEMetodos │ │ ├── AtributosEstaticos.cs │ │ ├── Construtores.cs │ │ ├── DesafioAtributo.cs │ │ ├── ExemploEnum.cs │ │ ├── GetSet.cs │ │ ├── Membros.cs │ │ ├── MetodosComRetorno.cs │ │ ├── MetodosEstaticos.cs │ │ ├── ParametroPadrao.cs │ │ ├── ParametrosNomeados.cs │ │ ├── ParametrosPorReferencia.cs │ │ ├── Params.cs │ │ ├── Pessoa.cs │ │ ├── Props.cs │ │ ├── Readonly.cs │ │ ├── Struct.cs │ │ ├── StructVsClasse.cs │ │ └── ValorVsReferencia.cs │ ├── Colecoes │ │ ├── Array.cs │ │ ├── ColecoesArrayList.cs │ │ ├── ColecoesDictionary.cs │ │ ├── ColecoesList.cs │ │ ├── ColecoesQueue.cs │ │ ├── ColecoesSet.cs │ │ ├── ColecoesStack.cs │ │ └── Igualdade.cs │ ├── CursoCSharp.csproj │ ├── EstruturasDeControle │ │ ├── EstruturaDoWhile.cs │ │ ├── EstruturaFor.cs │ │ ├── EstruturaForEach.cs │ │ ├── EstruturaIf.cs │ │ ├── EstruturaIfElse.cs │ │ ├── EstruturaIfElseIf.cs │ │ ├── EstruturaSwitch.cs │ │ ├── EstruturaWhile.cs │ │ ├── UsandoBreak.cs │ │ └── UsandoContinue.cs │ ├── Excecoes │ │ ├── ExcecoesPersonalizadas.cs │ │ └── PrimeiraExcecao.cs │ ├── Fundamentos │ │ ├── Comentarios.cs │ │ ├── Conversoes.cs │ │ ├── FormatandoNumero.cs │ │ ├── Inferencia.cs │ │ ├── Interpolacao.cs │ │ ├── LendoDados.cs │ │ ├── NotacaoPonto.cs │ │ ├── OperadorTernario.cs │ │ ├── OperadoresAritmeticos.cs │ │ ├── OperadoresAtribuicao.cs │ │ ├── OperadoresLogicos.cs │ │ ├── OperadoresRelacionais.cs │ │ ├── OperadoresUnarios.cs │ │ ├── PrimeiroPrograma.cs │ │ └── VariaveisEConstantes.cs │ ├── MetodosEFuncoes │ │ ├── DelegateFunAnonima.cs │ │ ├── DelegatesComoParametros.cs │ │ ├── ExemploLambda.cs │ │ ├── LambdasDelegate.cs │ │ ├── MetodosDeExtensao.cs │ │ └── UsandoDelegates.cs │ ├── OO │ │ ├── Abstract.cs │ │ ├── ConstrutorThis.cs │ │ ├── Encapsulamento.cs │ │ ├── Heranca.cs │ │ ├── Interface.cs │ │ ├── Polimorfismo.cs │ │ └── Sealed.cs │ ├── Program.cs │ ├── TopicosAvancados │ │ ├── Dynamics.cs │ │ ├── Genericos.cs │ │ ├── LINQ1.cs │ │ ├── LINQ2.cs │ │ └── Nullables.cs │ ├── bin │ │ └── Debug │ │ │ └── netcoreapp2.0 │ │ │ ├── CursoCSharp.deps.json │ │ │ ├── CursoCSharp.dll │ │ │ ├── CursoCSharp.pdb │ │ │ ├── CursoCSharp.runtimeconfig.dev.json │ │ │ ├── CursoCSharp.runtimeconfig.json │ │ │ ├── Encapsulamento.dll │ │ │ └── Encapsulamento.pdb │ └── obj │ │ ├── CursoCSharp.csproj.nuget.cache │ │ ├── CursoCSharp.csproj.nuget.g.props │ │ ├── CursoCSharp.csproj.nuget.g.targets │ │ ├── Debug │ │ └── netcoreapp2.0 │ │ │ ├── CursoCSharp.AssemblyInfo.cs │ │ │ ├── CursoCSharp.AssemblyInfoInputs.cache │ │ │ ├── CursoCSharp.csproj.CopyComplete │ │ │ ├── CursoCSharp.csproj.CoreCompileInputs.cache │ │ │ ├── CursoCSharp.csproj.FileListAbsolute.txt │ │ │ ├── CursoCSharp.csprojAssemblyReference.cache │ │ │ ├── CursoCSharp.dll │ │ │ └── CursoCSharp.pdb │ │ └── project.assets.json └── Encapsulamento │ ├── AmigoProximo.cs │ ├── Encapsulamento.csproj │ ├── FilhoReconhecido.cs │ ├── SubCelebridade.cs │ ├── bin │ └── Debug │ │ └── netcoreapp2.0 │ │ ├── Encapsulamento.deps.json │ │ ├── Encapsulamento.dll │ │ └── Encapsulamento.pdb │ └── obj │ ├── Debug │ └── netcoreapp2.0 │ │ ├── Encapsulamento.AssemblyInfo.cs │ │ ├── Encapsulamento.AssemblyInfoInputs.cache │ │ ├── Encapsulamento.csproj.CoreCompileInputs.cache │ │ ├── Encapsulamento.csproj.FileListAbsolute.txt │ │ ├── Encapsulamento.csprojAssemblyReference.cache │ │ ├── Encapsulamento.dll │ │ └── Encapsulamento.pdb │ ├── Encapsulamento.csproj.nuget.cache │ ├── Encapsulamento.csproj.nuget.g.props │ ├── Encapsulamento.csproj.nuget.g.targets │ └── project.assets.json └── README.md /CursoCSharp/.vs/CursoCSharp/DesignTimeBuild/.dtbcache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cod3rcursos/curso-c-sharp/464fc7fcce26afcf46da1295e099c9087e1b9c2c/CursoCSharp/.vs/CursoCSharp/DesignTimeBuild/.dtbcache -------------------------------------------------------------------------------- /CursoCSharp/.vs/CursoCSharp/v15/.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cod3rcursos/curso-c-sharp/464fc7fcce26afcf46da1295e099c9087e1b9c2c/CursoCSharp/.vs/CursoCSharp/v15/.suo -------------------------------------------------------------------------------- /CursoCSharp/.vs/CursoCSharp/v15/Server/sqlite3/db.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cod3rcursos/curso-c-sharp/464fc7fcce26afcf46da1295e099c9087e1b9c2c/CursoCSharp/.vs/CursoCSharp/v15/Server/sqlite3/db.lock -------------------------------------------------------------------------------- /CursoCSharp/.vs/CursoCSharp/v15/Server/sqlite3/storage.ide: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cod3rcursos/curso-c-sharp/464fc7fcce26afcf46da1295e099c9087e1b9c2c/CursoCSharp/.vs/CursoCSharp/v15/Server/sqlite3/storage.ide -------------------------------------------------------------------------------- /CursoCSharp/.vs/CursoCSharp/v15/Server/sqlite3/storage.ide-shm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cod3rcursos/curso-c-sharp/464fc7fcce26afcf46da1295e099c9087e1b9c2c/CursoCSharp/.vs/CursoCSharp/v15/Server/sqlite3/storage.ide-shm -------------------------------------------------------------------------------- /CursoCSharp/.vs/CursoCSharp/v15/Server/sqlite3/storage.ide-wal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cod3rcursos/curso-c-sharp/464fc7fcce26afcf46da1295e099c9087e1b9c2c/CursoCSharp/.vs/CursoCSharp/v15/Server/sqlite3/storage.ide-wal -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.27703.2035 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CursoCSharp", "CursoCSharp\CursoCSharp.csproj", "{3B56C390-C0E3-4BC3-83C9-31CF1F9AD02D}" 7 | EndProject 8 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Encapsulamento", "Encapsulamento\Encapsulamento.csproj", "{7EA9A5C6-B2F0-442E-992D-1F9D483D5AE2}" 9 | EndProject 10 | Global 11 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 12 | Debug|Any CPU = Debug|Any CPU 13 | Release|Any CPU = Release|Any CPU 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {3B56C390-C0E3-4BC3-83C9-31CF1F9AD02D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 17 | {3B56C390-C0E3-4BC3-83C9-31CF1F9AD02D}.Debug|Any CPU.Build.0 = Debug|Any CPU 18 | {3B56C390-C0E3-4BC3-83C9-31CF1F9AD02D}.Release|Any CPU.ActiveCfg = Release|Any CPU 19 | {3B56C390-C0E3-4BC3-83C9-31CF1F9AD02D}.Release|Any CPU.Build.0 = Release|Any CPU 20 | {7EA9A5C6-B2F0-442E-992D-1F9D483D5AE2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 21 | {7EA9A5C6-B2F0-442E-992D-1F9D483D5AE2}.Debug|Any CPU.Build.0 = Debug|Any CPU 22 | {7EA9A5C6-B2F0-442E-992D-1F9D483D5AE2}.Release|Any CPU.ActiveCfg = Release|Any CPU 23 | {7EA9A5C6-B2F0-442E-992D-1F9D483D5AE2}.Release|Any CPU.Build.0 = Release|Any CPU 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | GlobalSection(ExtensibilityGlobals) = postSolution 29 | SolutionGuid = {8C559FD8-CCE0-4787-B66F-108C09470925} 30 | EndGlobalSection 31 | EndGlobal 32 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/Api/Diretorios.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.IO; 3 | 4 | namespace CursoCSharp.Api 5 | { 6 | class Diretorios 7 | { 8 | public static void Executar() { 9 | var novoDir = @"~/PastaCSharp".ParseHome(); 10 | var novoDirDestino = @"~/PastaCSharpDestino".ParseHome(); 11 | var dirProjeto = @"~/source/repos/CursoCSharp/CursoCSharp".ParseHome(); 12 | 13 | if (Directory.Exists(novoDir)) { 14 | Directory.Delete(novoDir, true); 15 | } 16 | 17 | if (Directory.Exists(novoDirDestino)) { 18 | Directory.Delete(novoDirDestino, true); 19 | } 20 | 21 | Directory.CreateDirectory(novoDir); 22 | Console.WriteLine(Directory.GetCreationTime(novoDir)); 23 | 24 | Console.WriteLine("== Pastas ================"); 25 | var pastas = Directory.GetDirectories(dirProjeto); 26 | foreach (var pasta in pastas) { 27 | Console.WriteLine(pasta); 28 | } 29 | 30 | Console.WriteLine("\n\n== Arquivos ================"); 31 | var arquivos = Directory.GetFiles(dirProjeto); 32 | foreach (var arquivo in arquivos) { 33 | Console.WriteLine(arquivo); 34 | } 35 | 36 | Console.WriteLine("\n\n== Raiz ================"); 37 | Console.WriteLine(Directory.GetDirectoryRoot(novoDir)); 38 | 39 | Directory.Move(novoDir, novoDirDestino); 40 | } 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/Api/ExemploDateTime.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.Api 6 | { 7 | class ExemploDateTime 8 | { 9 | public static void Executar() { 10 | var dateTime = new DateTime(year: 2030, month: 2, day: 6); 11 | 12 | Console.WriteLine(dateTime.Day); 13 | Console.WriteLine(dateTime.Month); 14 | Console.WriteLine(dateTime.Year); 15 | 16 | // Sem horas 17 | var hoje = DateTime.Today; 18 | Console.WriteLine(hoje); 19 | 20 | // Com horas 21 | var diaAtual = DateTime.Now; 22 | Console.WriteLine(diaAtual); 23 | Console.WriteLine("Hora: " + diaAtual.Hour); 24 | Console.WriteLine("Minutes: " + diaAtual.Minute); 25 | 26 | var amanha = diaAtual.AddDays(1); 27 | Console.WriteLine(amanha); 28 | 29 | var ontem = diaAtual.AddDays(-1); 30 | Console.WriteLine(ontem); 31 | 32 | Console.WriteLine(diaAtual.ToString("dd")); 33 | Console.WriteLine(diaAtual.ToString("d")); 34 | Console.WriteLine(diaAtual.ToString("D")); 35 | Console.WriteLine(diaAtual.ToString("g")); 36 | Console.WriteLine(diaAtual.ToString("G")); 37 | Console.WriteLine(diaAtual.ToString("dd-MM-yyyy HH:mm")); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/Api/ExemploDirectoryInfo.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.IO; 3 | 4 | namespace CursoCSharp.Api 5 | { 6 | class ExemploDirectoryInfo 7 | { 8 | public static void Executar() { 9 | var dirProjeto = @"~/source/repos/CursoCSharp/CursoCSharp".ParseHome(); 10 | 11 | var dirInfo = new DirectoryInfo(dirProjeto); 12 | 13 | if (!dirInfo.Exists) { 14 | dirInfo.Create(); 15 | } 16 | 17 | Console.WriteLine("== Arquivos ================"); 18 | var arquivos = dirInfo.GetFiles(); 19 | foreach (var arquivo in arquivos) { 20 | Console.WriteLine(arquivo); 21 | } 22 | 23 | Console.WriteLine("\n== Diretórios ================"); 24 | var pastas = dirInfo.GetDirectories(); 25 | foreach (var pasta in pastas) { 26 | Console.WriteLine(pasta); 27 | } 28 | 29 | Console.WriteLine(dirInfo.CreationTime); 30 | Console.WriteLine(dirInfo.FullName); 31 | Console.WriteLine(dirInfo.Root); 32 | Console.WriteLine(dirInfo.Parent.Parent); 33 | } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/Api/ExemploFileInfo.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.IO; 3 | 4 | namespace CursoCSharp.Api 5 | { 6 | class ExemploFileInfo 7 | { 8 | public static void ExcluirSeExistir(params string[] caminhos) { 9 | foreach(var caminho in caminhos) { 10 | FileInfo arquivo = new FileInfo(caminho); 11 | 12 | if (arquivo.Exists) { 13 | arquivo.Delete(); 14 | } 15 | } 16 | } 17 | 18 | public static void Executar() { 19 | var caminhoOrigem = @"~/arq_origem.txt".ParseHome(); 20 | var caminhoDestino = @"~/arq_destino.txt".ParseHome(); 21 | var caminhoCopia = @"~/arq_copia.txt".ParseHome(); 22 | 23 | ExcluirSeExistir(caminhoOrigem, caminhoDestino, caminhoCopia); 24 | 25 | using (StreamWriter sw = File.CreateText(caminhoOrigem)) { 26 | sw.WriteLine("Arquivo original!"); 27 | } 28 | 29 | FileInfo origem = new FileInfo(caminhoOrigem); 30 | Console.WriteLine(origem.Name); 31 | Console.WriteLine(origem.IsReadOnly); 32 | Console.WriteLine(origem.FullName); 33 | Console.WriteLine(origem.Extension); 34 | Console.WriteLine(origem.DirectoryName); 35 | 36 | origem.CopyTo(caminhoCopia); 37 | origem.MoveTo(caminhoDestino); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/Api/ExemploPath.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.IO; 3 | 4 | namespace CursoCSharp.Api 5 | { 6 | class ExemploPath 7 | { 8 | public static void Executar() { 9 | var arquivo = @"~/exemplo_path_arquivo.txt".ParseHome(); 10 | var pasta = @"~/exemplo_path_pasta".ParseHome(); 11 | 12 | if(!File.Exists(arquivo)) { 13 | using (StreamWriter sw = File.CreateText(arquivo)) { 14 | sw.WriteLine("Um novo arquivo criado!"); 15 | } 16 | } 17 | 18 | if(!Directory.Exists(pasta)) { 19 | Directory.CreateDirectory(pasta); 20 | } 21 | 22 | Console.WriteLine(Path.GetExtension(arquivo)); 23 | Console.WriteLine(Path.GetFileName(arquivo)); 24 | Console.WriteLine(Path.GetFileNameWithoutExtension(arquivo)); 25 | Console.WriteLine(Path.GetDirectoryName(arquivo)); 26 | Console.WriteLine(Path.HasExtension(arquivo)); 27 | 28 | Console.WriteLine(Path.HasExtension(pasta)); 29 | Console.WriteLine(Path.GetFullPath(pasta)); 30 | Console.WriteLine(Path.GetPathRoot(pasta)); 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/Api/ExemploTimeSpan.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.Api 6 | { 7 | class ExemploTimeSpan 8 | { 9 | public static void Executar() { 10 | var intervalo = new TimeSpan(days: 10, hours: 20, minutes: 30, 11 | seconds: 40); 12 | Console.WriteLine(intervalo); 13 | 14 | Console.WriteLine("Minutos: " + intervalo.Minutes); 15 | Console.WriteLine("Intervalo em Minutos: " 16 | + intervalo.TotalMinutes); 17 | 18 | var largada = DateTime.Now; 19 | var chegada = DateTime.Now.AddMinutes(15); 20 | 21 | var tempo = chegada - largada; 22 | 23 | Console.WriteLine("Duração: " + tempo); 24 | 25 | Console.WriteLine(intervalo.Add(TimeSpan.FromMinutes(8))); 26 | Console.WriteLine(intervalo.Subtract(TimeSpan.FromMinutes(8))); 27 | 28 | Console.WriteLine("ToString 1: " + intervalo.ToString("g")); 29 | Console.WriteLine("ToString 2: " + intervalo.ToString("G")); 30 | Console.WriteLine("ToString 3: " + intervalo.ToString("c")); 31 | 32 | Console.WriteLine("Parse: " + 33 | TimeSpan.Parse("01:02:03").TotalMilliseconds); 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/Api/LendoArquivos.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.IO; 3 | 4 | namespace CursoCSharp.Api { 5 | class LendoArquivos { 6 | public static void Executar() { 7 | var path = @"~/lendo_arquivos.txt".ParseHome(); 8 | 9 | if (!File.Exists(path)) { 10 | using (StreamWriter sw = File.AppendText(path)) { 11 | sw.WriteLine("Produto;Preco;Qtde"); 12 | sw.WriteLine("Caneta Bic Preta;3.59;89"); 13 | sw.WriteLine("Borracha Branca;2.89;27"); 14 | } 15 | } 16 | 17 | try { 18 | using (StreamReader sr = new StreamReader(path)) { 19 | var texto = sr.ReadToEnd(); 20 | Console.WriteLine(texto); 21 | } 22 | } catch (Exception ex) { 23 | Console.WriteLine(ex.Message); 24 | } 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/Api/PrimeiroArquivo.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.IO; 3 | 4 | namespace CursoCSharp.Api 5 | { 6 | public static class ExtensaoString { 7 | public static string ParseHome(this string path) { 8 | string home = (Environment.OSVersion.Platform == PlatformID.Unix || 9 | Environment.OSVersion.Platform == PlatformID.MacOSX) 10 | ? Environment.GetEnvironmentVariable("HOME") 11 | : Environment.ExpandEnvironmentVariables("%HOMEDRIVE%%HOMEPATH%"); 12 | return path.Replace("~", home); 13 | } 14 | } 15 | 16 | class PrimeiroArquivo 17 | { 18 | public static void Executar() { 19 | var path = @"~/primeiro_arquivo.txt".ParseHome(); 20 | 21 | if (!File.Exists(path)) { 22 | using (StreamWriter sw = File.CreateText(path)) { 23 | sw.WriteLine("Esse é"); 24 | sw.WriteLine("o nosso"); 25 | sw.WriteLine("primeiro"); 26 | sw.WriteLine("arquivo!"); 27 | } 28 | } 29 | using (StreamWriter sw = File.AppendText(path)) { 30 | sw.WriteLine(""); 31 | sw.WriteLine("É possível"); 32 | sw.WriteLine("adicionar"); 33 | sw.WriteLine("mais texto!"); 34 | } 35 | } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/CentralDeExercicios.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | 5 | namespace CursoCSharp { 6 | public class CentralDeExercicios { 7 | Dictionary Exercicios; 8 | 9 | public CentralDeExercicios(Dictionary exercicios) { 10 | Exercicios = exercicios; 11 | } 12 | 13 | public void SelecionarEExecutar() { 14 | int i = 1; 15 | 16 | foreach (var exercicio in Exercicios) { 17 | Console.WriteLine("{0}) {1}", i, exercicio.Key); 18 | i++; 19 | } 20 | 21 | Console.Write("Digite o número (ou vazio para o último)? "); 22 | 23 | int.TryParse(Console.ReadLine(), out int num); 24 | bool numValido = num > 0 && num <= Exercicios.Count; 25 | num = numValido ? num - 1 : Exercicios.Count - 1; 26 | 27 | string nomeDoExercicio = Exercicios.ElementAt(num).Key; 28 | 29 | Console.Write("\nExecutando exercício "); 30 | Console.BackgroundColor = ConsoleColor.Yellow; 31 | Console.ForegroundColor = ConsoleColor.Black; 32 | Console.WriteLine(nomeDoExercicio); 33 | Console.ResetColor(); 34 | 35 | Console.WriteLine(String.Concat( 36 | Enumerable.Repeat("=", nomeDoExercicio.Length + 21)) + "\n"); 37 | 38 | Action executar = Exercicios.ElementAt(num).Value; 39 | try { 40 | executar(); 41 | } catch(Exception e) { 42 | Console.BackgroundColor = ConsoleColor.Red; 43 | Console.ForegroundColor = ConsoleColor.White; 44 | Console.WriteLine("Ocorreu um erro: {0}", e.Message); 45 | Console.ResetColor(); 46 | 47 | Console.WriteLine(e.StackTrace); 48 | } 49 | } 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/ClassesEMetodos/AtributosEstaticos.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.ClassesEMetodos 6 | { 7 | public class Produto { 8 | public string Nome; 9 | public double Preco; 10 | public static double Desconto = 0.1; 11 | 12 | public Produto(string nome, double preco, double desconto) { 13 | Nome = nome; 14 | Preco = preco; 15 | Desconto = desconto; 16 | } 17 | 18 | public Produto() { 19 | 20 | } 21 | 22 | public double CalcularDesconto() { 23 | return Preco - Preco * Desconto; 24 | } 25 | } 26 | 27 | class AtributosEstaticos 28 | { 29 | public static void Executar() { 30 | var produto1 = new Produto("Caneta", 3.2, 0.1); 31 | 32 | var produto2 = new Produto() { 33 | Nome = "Borracha", 34 | Preco = 5.3 35 | }; 36 | 37 | Produto.Desconto = 0.5; 38 | 39 | Console.WriteLine("Preço com desconto: {0}", 40 | produto1.CalcularDesconto()); 41 | Console.WriteLine("Preço com desconto: {0}", 42 | produto2.CalcularDesconto()); 43 | 44 | Produto.Desconto = 0.02; 45 | 46 | Console.WriteLine("Preço com desconto: {0}", 47 | produto1.CalcularDesconto()); 48 | Console.WriteLine("Preço com desconto: {0}", 49 | produto2.CalcularDesconto()); 50 | } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/ClassesEMetodos/Construtores.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.ClassesEMetodos 6 | { 7 | class Carro { 8 | public string Modelo; 9 | public string Fabricante; 10 | public int Ano; 11 | 12 | public Carro(string modelo, string fabricante, int ano) { 13 | Modelo = modelo; 14 | Fabricante = fabricante; 15 | Ano = ano; 16 | } 17 | 18 | public Carro() { 19 | 20 | } 21 | } 22 | 23 | class Construtores 24 | { 25 | public static void Executar() { 26 | var carro1 = new Carro(); 27 | carro1.Fabricante = "BMW"; 28 | carro1.Modelo = "325i"; 29 | carro1.Ano = 2017; 30 | Console.WriteLine( 31 | $"{carro1.Fabricante} {carro1.Modelo} {carro1.Ano}"); 32 | 33 | var carro2 = new Carro("Ka", "Ford", 2018); 34 | Console.WriteLine( 35 | $"{carro2.Fabricante} {carro2.Modelo} {carro2.Ano}"); 36 | 37 | var carro3 = new Carro() { 38 | Fabricante = "Fiat", 39 | Modelo = "Uno", 40 | Ano = 2019 41 | }; 42 | Console.WriteLine( 43 | $"{carro3.Fabricante} {carro3.Modelo} {carro3.Ano}"); 44 | } 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/ClassesEMetodos/DesafioAtributo.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.ClassesEMetodos 6 | { 7 | class DesafioAtributo 8 | { 9 | int a = 10; 10 | 11 | public static void Executar() { 12 | // Acessar variável 'a' dentro do método Executar! 13 | // Console.WriteLine(a); 14 | 15 | DesafioAtributo desafio = new DesafioAtributo(); 16 | Console.WriteLine(desafio.a); 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/ClassesEMetodos/ExemploEnum.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.ClassesEMetodos 6 | { 7 | public enum Genero { Acao, Aventura, Terror, Animacao, Comedia }; 8 | 9 | public class Filme { 10 | public string Titulo; 11 | public Genero GeneroDoFilme; 12 | } 13 | 14 | class ExemploEnum 15 | { 16 | public static void Executar() { 17 | int id = (int)Genero.Animacao; 18 | Console.WriteLine(id); 19 | 20 | var filmeParaFamilia = new Filme(); 21 | filmeParaFamilia.Titulo = "Sharknardo 17"; 22 | filmeParaFamilia.GeneroDoFilme = Genero.Comedia; 23 | 24 | Console.WriteLine("{0} é {1}!", filmeParaFamilia.Titulo, 25 | filmeParaFamilia.GeneroDoFilme); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/ClassesEMetodos/GetSet.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.ClassesEMetodos 6 | { 7 | public class Moto { 8 | private string Marca; 9 | private string Modelo; 10 | private uint Cilindrada; 11 | 12 | public Moto(string marca, string modelo, uint cilindrada) { 13 | //Marca = marca; 14 | //Modelo = modelo; 15 | //Cilindrada = cilindrada; 16 | 17 | SetMarca(marca); 18 | SetModelo(modelo); 19 | SetCilindrada(cilindrada); 20 | } 21 | 22 | public Moto() { 23 | 24 | } 25 | 26 | public string GetMarca() { 27 | return Marca; 28 | } 29 | 30 | public void SetMarca(string marca) { 31 | Marca = marca; 32 | } 33 | 34 | public string GetModelo() { 35 | return Modelo; 36 | } 37 | 38 | public void SetModelo(string modelo) { 39 | Modelo = modelo; 40 | } 41 | 42 | public uint GetCilindrada() { 43 | return Cilindrada; 44 | } 45 | 46 | public void SetCilindrada(uint cilindrada) { 47 | // 1 Opção 48 | //if(cilindrada > 0) { 49 | // Cilindrada = cilindrada; 50 | //} 51 | 52 | // 2 Opção 53 | //Cilindrada = Math.Abs(cilindrada); 54 | 55 | Cilindrada = cilindrada; 56 | } 57 | } 58 | 59 | class GetSet 60 | { 61 | public static void Executar() { 62 | var moto1 = new Moto("Kawasaki", "Ninja ZX-6R", 636); 63 | 64 | Console.WriteLine(moto1.GetMarca()); 65 | Console.WriteLine(moto1.GetModelo()); 66 | Console.WriteLine(moto1.GetCilindrada()); 67 | 68 | var moto2 = new Moto(); 69 | moto2.SetMarca("Honda"); 70 | moto2.SetModelo("CG Titan"); 71 | moto2.SetCilindrada(150); 72 | Console.WriteLine(moto2.GetMarca() + " " + moto2.GetModelo() 73 | + " " + moto2.GetCilindrada()); 74 | } 75 | } 76 | } 77 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/ClassesEMetodos/Membros.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace CursoCSharp.ClassesEMetodos 4 | { 5 | class Membros 6 | { 7 | public static void Executar() { 8 | Pessoa sicrano = new Pessoa(); 9 | sicrano.Nome = "Renato"; 10 | sicrano.Idade = 21; 11 | 12 | // Console.WriteLine($"{sicrano.Nome} tem {sicrano.Idade} anos."); 13 | 14 | sicrano.ApresentarNoConsole(); 15 | sicrano.Zerar(); 16 | sicrano.ApresentarNoConsole(); 17 | 18 | var fulano = new Pessoa(); 19 | fulano.Nome = "Beto"; 20 | fulano.Idade = 21; 21 | 22 | var apresentacaoDoFulano = fulano.Apresentar(); 23 | Console.WriteLine(apresentacaoDoFulano.Length); 24 | Console.WriteLine(apresentacaoDoFulano); 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/ClassesEMetodos/MetodosComRetorno.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.ClassesEMetodos 6 | { 7 | class CalculadoraComum { 8 | 9 | public int Somar(int a, int b) { 10 | return a + b; 11 | } 12 | 13 | public int Subtrair(int a, int b) { 14 | return a - b; 15 | } 16 | 17 | public int Multiplicar(int a, int b) { 18 | return a * b; 19 | } 20 | } 21 | 22 | class CalculadoraCadeia { 23 | int memoria; 24 | 25 | public CalculadoraCadeia Somar(int a) { 26 | memoria += a; 27 | return this; 28 | } 29 | 30 | public CalculadoraCadeia Multiplicar(int a) { 31 | memoria *= a; 32 | return this; 33 | } 34 | 35 | public CalculadoraCadeia Limpar() { 36 | memoria = 0; 37 | return this; 38 | } 39 | 40 | public CalculadoraCadeia Imprimir() { 41 | Console.WriteLine(memoria); 42 | return this; 43 | } 44 | 45 | public int Resultado() { 46 | return memoria; 47 | } 48 | } 49 | 50 | class MetodosComRetorno 51 | { 52 | public static void Executar() { 53 | var calculadoraComum = new CalculadoraComum(); 54 | var resultado = calculadoraComum.Somar(5, 5); 55 | 56 | Console.WriteLine(resultado); 57 | Console.WriteLine(calculadoraComum.Subtrair(2, 7)); 58 | Console.WriteLine(calculadoraComum.Multiplicar(4, 4)); 59 | 60 | var calculadoraCadeia = new CalculadoraCadeia(); 61 | calculadoraCadeia.Somar(3).Multiplicar(3).Imprimir() 62 | .Limpar().Imprimir(); 63 | 64 | resultado = calculadoraCadeia.Somar(3).Multiplicar(2).Resultado(); 65 | Console.WriteLine(resultado); 66 | } 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/ClassesEMetodos/MetodosEstaticos.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.ClassesEMetodos 6 | { 7 | public class CalculadoraEstatica { 8 | 9 | // Método de Classe ou Método estático!!! 10 | public static int Multiplicar(int a, int b) { 11 | return a * b; 12 | } 13 | 14 | // Método de instância!!! 15 | public int Somar(int a, int b) { 16 | return a + b; 17 | } 18 | } 19 | 20 | class MetodosEstaticos 21 | { 22 | public static void Executar() { 23 | var resultado = CalculadoraEstatica.Multiplicar(2, 2); 24 | Console.WriteLine("Resultado: {0}", resultado); 25 | 26 | CalculadoraEstatica calc = new CalculadoraEstatica(); 27 | Console.WriteLine(calc.Somar(2, 2)); 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/ClassesEMetodos/ParametroPadrao.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.ClassesEMetodos 6 | { 7 | class ParametroPadrao 8 | { 9 | public static int Somar(int a = 1, int b = 1) { 10 | return a + b; 11 | } 12 | 13 | public static void Executar() { 14 | Console.WriteLine(Somar(10, 23)); 15 | Console.WriteLine(Somar(50)); 16 | Console.WriteLine(Somar()); 17 | Console.WriteLine(Somar(b: 7)); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/ClassesEMetodos/ParametrosNomeados.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.ClassesEMetodos 6 | { 7 | class ParametrosNomeados 8 | { 9 | public static void Formatar(int dia, int mes, int ano) { 10 | Console.WriteLine("{0:D2}/{1:D2}/{2}", dia, mes, ano); 11 | } 12 | 13 | public static void Executar() { 14 | Formatar(mes: 1, dia: 6, ano: 1996); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/ClassesEMetodos/ParametrosPorReferencia.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.ClassesEMetodos 6 | { 7 | class ParametrosPorReferencia 8 | { 9 | public static void AlterarRef(ref int numero) { 10 | numero = numero + 1000; 11 | } 12 | 13 | public static void AlterarOut(out int numero1, out int numero2) { 14 | numero1 = 0; 15 | numero2 = 0; 16 | numero1 = numero1 + 15; 17 | numero2 = numero2 + 30; 18 | } 19 | 20 | public static void Executar() { 21 | int a = 3; 22 | AlterarRef(ref a); 23 | Console.WriteLine(a); 24 | 25 | // int b; 26 | AlterarOut(out int b, out int c); 27 | Console.WriteLine($"{b} {c}"); 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/ClassesEMetodos/Params.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.ClassesEMetodos 6 | { 7 | class Params 8 | { 9 | public static void Recepcionar(params string[] pessoas) { 10 | foreach (var pessoa in pessoas) { 11 | Console.WriteLine("Olá {0}", pessoa); 12 | } 13 | } 14 | 15 | public static void Executar() { 16 | Recepcionar("Pedro", "Manu", "Roger","Ana", "Bia"); 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/ClassesEMetodos/Pessoa.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.ClassesEMetodos 6 | { 7 | class Pessoa 8 | { 9 | public string Nome; 10 | public int Idade; 11 | 12 | public string Apresentar() { 13 | return string.Format( 14 | $"Olá! Me chamo {Nome} e tenho {Idade} anos."); 15 | } 16 | 17 | public void ApresentarNoConsole() { 18 | Console.WriteLine(Apresentar()); 19 | } 20 | 21 | public void Zerar() { 22 | Nome = ""; 23 | Idade = 0; 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/ClassesEMetodos/Props.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.ClassesEMetodos 6 | { 7 | public class CarroOpcional { 8 | double desconto = 0.1; 9 | 10 | string nome; 11 | public string Nome { 12 | get { 13 | return "Opcional: " + nome; 14 | } 15 | set { 16 | nome = value; 17 | } 18 | } 19 | 20 | // Propriedade autoimplementada 21 | public double Preco { get; set; } 22 | 23 | // Somente leitura 24 | public double PrecoComDesconto { 25 | get => Preco - (desconto * Preco); // Lambda 26 | //get { 27 | // return Preco - (desconto * Preco); 28 | //} 29 | } 30 | 31 | public CarroOpcional() { 32 | 33 | } 34 | 35 | public CarroOpcional(string nome, double preco) { 36 | Nome = nome; 37 | Preco = preco; 38 | } 39 | } 40 | 41 | class Props 42 | { 43 | public static void Executar() { 44 | var op1 = new CarroOpcional("Ar Condicionado", 3499.9); 45 | Console.WriteLine(op1.PrecoComDesconto); 46 | 47 | // op1.PrecoComDesconto = 3000; 48 | 49 | var op2 = new CarroOpcional(); 50 | op2.Nome = "Direção Elétrica"; 51 | op2.Preco = 2349.9; 52 | 53 | Console.WriteLine(op1.Nome); 54 | Console.WriteLine(op1.Preco); 55 | 56 | Console.WriteLine(op2.Nome); 57 | Console.WriteLine(op2.Preco); 58 | Console.WriteLine(op2.PrecoComDesconto); 59 | } 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/ClassesEMetodos/Readonly.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.ClassesEMetodos 6 | { 7 | public class Cliente { 8 | public string Nome; 9 | public readonly DateTime Nascimento; 10 | 11 | public Cliente(string nome, DateTime nascimento) { 12 | Nome = nome; 13 | Nascimento = nascimento; 14 | 15 | Nascimento = new DateTime(2020, 10, 10); 16 | } 17 | 18 | public string GetDataDeNascimento() { 19 | return String.Format("{0}/{1}/{2}", Nascimento.Day, 20 | Nascimento.Month, Nascimento.Year); 21 | } 22 | } 23 | 24 | class Readonly 25 | { 26 | static public void Executar() { 27 | var novoCliente = new Cliente("Ana Silva", 28 | new DateTime(1987, 5, 22)); 29 | 30 | Console.WriteLine(novoCliente.Nome); 31 | Console.WriteLine(novoCliente.GetDataDeNascimento()); 32 | 33 | // novoCliente.Nascimento = new DateTime(2020, 10, 10); 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/ClassesEMetodos/Struct.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.ClassesEMetodos 6 | { 7 | interface Ponto { 8 | void MoverNaDiagonal(int delta); 9 | } 10 | 11 | struct Coordenada: Ponto { 12 | public int X; 13 | public int Y; 14 | 15 | public Coordenada(int x, int y) { 16 | X = x; 17 | Y = y; 18 | } 19 | 20 | public void MoverNaDiagonal(int delta) { 21 | X += delta; 22 | Y += delta; 23 | } 24 | } 25 | 26 | class ExemploStruct 27 | { 28 | public static void Executar() { 29 | Coordenada coordenadaInicial; 30 | coordenadaInicial.X = 2; 31 | coordenadaInicial.Y = 2; 32 | 33 | Console.WriteLine("Coordenada Inicial:"); 34 | Console.WriteLine("X = {0}", coordenadaInicial.X); 35 | Console.WriteLine("Y = {0}", coordenadaInicial.Y); 36 | 37 | var coordenadaFinal = new Coordenada(x: 9, y: 1); 38 | coordenadaFinal.MoverNaDiagonal(10); 39 | 40 | Console.WriteLine("Coordenada Final:"); 41 | Console.WriteLine("X = {0}", coordenadaFinal.X); 42 | Console.WriteLine("Y = {0}", coordenadaFinal.Y); 43 | } 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/ClassesEMetodos/StructVsClasse.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.ClassesEMetodos 6 | { 7 | public struct SPonto { 8 | public int X; 9 | public int Y; 10 | } 11 | 12 | public class CPonto { 13 | public int X; 14 | public int Y; 15 | } 16 | 17 | class StructVsClasse 18 | { 19 | public static void Executar() { 20 | SPonto ponto1 = new SPonto { X = 1, Y = 3 }; 21 | SPonto copiaPonto1 = ponto1; // Atribuição por VALOR!!! 22 | ponto1.X = 3; 23 | 24 | Console.WriteLine("Ponto 1 X:{0}", ponto1.X); 25 | Console.WriteLine("Copia Ponto 1 X:{0}", copiaPonto1.X); 26 | 27 | CPonto ponto2 = new CPonto { X = 2, Y = 4 }; 28 | CPonto copiaPonto2 = ponto2; // Atribuição por REFERÊNCIA!!! 29 | ponto2.X = 4; 30 | 31 | Console.WriteLine("Ponto 2 X:{0}", ponto2.X); 32 | Console.WriteLine("Copia Ponto 2 X:{0}", copiaPonto2.X); 33 | } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/ClassesEMetodos/ValorVsReferencia.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.ClassesEMetodos 6 | { 7 | public class Dependente { 8 | public string Nome; 9 | public int Idade; 10 | } 11 | 12 | class ValorVsReferencia 13 | { 14 | public static void Executar() { 15 | int numero = 3; 16 | int copiaNumero = numero; 17 | Console.WriteLine($"{numero} {copiaNumero}"); 18 | 19 | numero++; 20 | Console.WriteLine($"{numero} {copiaNumero}"); 21 | 22 | Dependente dep = new Dependente { 23 | Nome = "Beto", 24 | Idade = 20 25 | }; 26 | 27 | Dependente copiaDep = dep; 28 | 29 | Console.WriteLine($"{dep.Nome} {copiaDep.Nome}"); 30 | Console.WriteLine($"{dep.Idade} {copiaDep.Idade}"); 31 | 32 | copiaDep.Nome = "Renato"; 33 | dep.Idade = 21; 34 | 35 | Console.WriteLine($"{dep.Nome} {copiaDep.Nome}"); 36 | Console.WriteLine($"{dep.Idade} {copiaDep.Idade}"); 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/Colecoes/Array.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.Colecoes 6 | { 7 | class Array 8 | { 9 | public static void Executar() { 10 | string[] alunos = new string[5]; 11 | alunos[0] = "Anderson"; 12 | alunos[1] = "Bia"; 13 | alunos[2] = "Carlos"; 14 | alunos[3] = "Daniela"; 15 | alunos[4] = "Emanuel"; 16 | 17 | foreach (var aluno in alunos) { 18 | Console.WriteLine(aluno); 19 | } 20 | 21 | double somatorio = 0; 22 | double[] notas = { 9.7, 4.8, 8.4, 8.2, 6.8 }; 23 | 24 | foreach (var nota in notas) { 25 | somatorio += nota; 26 | } 27 | 28 | //for(int i = 0; i < notas.Length; i++) { 29 | // somatorio += notas[i]; 30 | //} 31 | 32 | double media = somatorio / notas.Length; 33 | Console.WriteLine(media); 34 | 35 | char[] letras = { 'A', 'r', 'r', 'a', 'y' }; 36 | string palavra = new string(letras); 37 | Console.WriteLine(palavra); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/Colecoes/ColecoesArrayList.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections; 3 | 4 | namespace CursoCSharp.Colecoes 5 | { 6 | class ColecoesArrayList 7 | { 8 | public static void Executar() { 9 | var arraylist = new ArrayList { 10 | "Palavra", 11 | 3, 12 | true 13 | }; 14 | 15 | arraylist.Add(3.14); 16 | //arraylist.Count 17 | 18 | foreach (var item in arraylist) { 19 | Console.WriteLine("{0} => {1}", item, item.GetType()); 20 | } 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/Colecoes/ColecoesDictionary.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.Colecoes 6 | { 7 | class ColecoesDictionary 8 | { 9 | public static void Executar() { 10 | var filmes = new Dictionary(); 11 | 12 | filmes.Add(2000, "Gladiador"); 13 | filmes.Add(2002, "Homem-Aranha"); 14 | filmes.Add(2004, "Os Incríveis"); 15 | filmes.Add(2006, "O Grande Truque"); 16 | 17 | if (filmes.ContainsKey(2004)) { 18 | Console.WriteLine("2004: " + filmes[2004]); 19 | Console.WriteLine("2004: " + filmes.GetValueOrDefault(2004)); 20 | } 21 | 22 | Console.WriteLine(filmes.ContainsValue("Amnésia")); 23 | 24 | Console.WriteLine($"Removeu? {filmes.Remove(2004)}"); 25 | 26 | filmes.TryGetValue(2016, out string filme2006); 27 | Console.WriteLine($"Filme {filme2006}!"); 28 | 29 | foreach (var chave in filmes.Keys) { 30 | Console.WriteLine(chave); 31 | } 32 | 33 | foreach (var valor in filmes.Values) { 34 | Console.WriteLine(valor); 35 | } 36 | 37 | foreach (KeyValuePair filme in filmes) { 38 | Console.WriteLine($"{filme.Value} é de {filme.Key}."); 39 | } 40 | 41 | foreach (var filme in filmes) { 42 | Console.WriteLine($"{filme.Value} é de {filme.Key}."); 43 | } 44 | } 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/Colecoes/ColecoesList.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.Colecoes 6 | { 7 | public class Produto { 8 | public string Nome; 9 | public double Preco; 10 | 11 | public Produto(string nome, double preco) { 12 | Nome = nome; 13 | Preco = preco; 14 | } 15 | 16 | public override bool Equals(object obj) { 17 | var produto = obj as Produto; 18 | return produto != null && 19 | Nome == produto.Nome && 20 | Preco == produto.Preco; 21 | } 22 | 23 | public override int GetHashCode() { 24 | var hashCode = -347481536; 25 | hashCode = hashCode * -1521134295 + EqualityComparer.Default.GetHashCode(Nome); 26 | hashCode = hashCode * -1521134295 + Preco.GetHashCode(); 27 | return hashCode; 28 | } 29 | } 30 | 31 | class ColecoesList 32 | { 33 | public static void Executar() { 34 | var livro = new Produto("Game of Throne", 49.9); 35 | 36 | var carrinho = new List(); 37 | carrinho.Add(livro); 38 | 39 | var combo = new List { 40 | new Produto("Camisa", 29.9), 41 | new Produto("8ª Temporada Game of Thrones", 99.9), 42 | new Produto("Poster", 10) 43 | }; 44 | 45 | carrinho.AddRange(combo); 46 | Console.WriteLine(carrinho.Count); 47 | carrinho.RemoveAt(3); 48 | 49 | foreach (var item in carrinho) { 50 | Console.Write(carrinho.IndexOf(item)); 51 | Console.WriteLine($" {item.Nome} {item.Preco}"); 52 | } 53 | 54 | Console.WriteLine(carrinho.Count); 55 | carrinho.Add(livro); 56 | Console.WriteLine(carrinho.LastIndexOf(livro)); 57 | } 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/Colecoes/ColecoesQueue.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections; 3 | using System.Collections.Generic; 4 | 5 | namespace CursoCSharp.Colecoes 6 | { 7 | class ColecoesQueue 8 | { 9 | public static void Executar() { 10 | var fila = new Queue(); 11 | 12 | fila.Enqueue("Fulano"); 13 | fila.Enqueue("Sicrano"); 14 | fila.Enqueue("Beltrano"); 15 | fila.Enqueue("Beltrano"); 16 | 17 | Console.WriteLine(fila.Peek()); 18 | Console.WriteLine(fila.Count); 19 | 20 | Console.WriteLine(fila.Dequeue()); 21 | Console.WriteLine(fila.Count); 22 | 23 | foreach(var pessoa in fila) { 24 | Console.WriteLine(pessoa); 25 | } 26 | 27 | var salada = new Queue(); 28 | salada.Enqueue(3); 29 | salada.Enqueue("Item"); 30 | salada.Enqueue(true); 31 | salada.Enqueue(3.14); 32 | 33 | Console.WriteLine(salada.Contains("item")); 34 | Console.WriteLine(salada.Contains("Item")); 35 | } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/Colecoes/ColecoesSet.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.Colecoes 6 | { 7 | class ColecoesSet 8 | { 9 | public static void Executar() { 10 | var livro = new Produto("Game of Throne", 49.9); 11 | 12 | var carrinho = new HashSet(); 13 | carrinho.Add(livro); 14 | 15 | var combo = new HashSet { 16 | new Produto("Camisa", 29.9), 17 | new Produto("8ª Temporada Game of Thrones", 99.9), 18 | new Produto("Poster", 10), 19 | new Produto("Poster", 10) 20 | }; 21 | 22 | carrinho.UnionWith(combo); 23 | Console.WriteLine(carrinho.Count); 24 | // carrinho.RemoveAt(3); 25 | 26 | foreach (var item in carrinho) { 27 | // Console.Write(carrinho.IndexOf(item)); 28 | Console.WriteLine($" {item.Nome} {item.Preco}"); 29 | } 30 | 31 | Console.WriteLine(carrinho.Count); 32 | carrinho.Add(livro); 33 | Console.WriteLine(carrinho.Count); 34 | // Console.WriteLine(carrinho.LastIndexOf(livro)); 35 | } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/Colecoes/ColecoesStack.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.Colecoes 6 | { 7 | class ColecoesStack 8 | { 9 | public static void Executar() { 10 | var pilha = new Stack(); 11 | 12 | pilha.Push(3); 13 | pilha.Push("a"); 14 | pilha.Push(true); 15 | pilha.Push(3.14f); 16 | 17 | foreach (var item in pilha) { 18 | Console.Write($"{item} "); 19 | } 20 | 21 | Console.WriteLine($"\nPop: {pilha.Pop()}"); 22 | 23 | foreach (var item in pilha) { 24 | Console.Write($"{item} "); 25 | } 26 | 27 | Console.WriteLine($"\nPeek: {pilha.Peek()}"); 28 | Console.WriteLine(pilha.Count); 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/Colecoes/Igualdade.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.Colecoes 6 | { 7 | class Igualdade 8 | { 9 | public static void Executar() { 10 | var p1 = new Produto("Caneta", 1.89); 11 | var p2 = new Produto("Caneta", 1.89); 12 | var p3 = p2; 13 | 14 | Console.WriteLine(p1 == p2); 15 | Console.WriteLine(p3 == p2); 16 | 17 | Console.WriteLine(p1.Equals(p2)); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/CursoCSharp.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Exe 5 | netcoreapp2.0 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/EstruturasDeControle/EstruturaDoWhile.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.EstruturasDeControle 6 | { 7 | class EstruturaDoWhile 8 | { 9 | public static void Executar() { 10 | string entrada; 11 | 12 | do { 13 | Console.WriteLine("Qual o seu nome?"); 14 | entrada = Console.ReadLine(); 15 | 16 | Console.WriteLine("Seja bem-vindo {0}", entrada); 17 | Console.WriteLine("Deseja continuar?(S/N)"); 18 | entrada = Console.ReadLine(); 19 | } while (entrada.ToLower() == "s"); 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/EstruturasDeControle/EstruturaFor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.EstruturasDeControle 6 | { 7 | class EstruturaFor 8 | { 9 | public static void Executar() { 10 | //for (int i = 1; i <= 10; i++) { 11 | // Console.WriteLine($"O valor de i é {i}."); 12 | //} 13 | 14 | double somatorio = 0; 15 | string entrada; 16 | 17 | Console.Write("Informe o tamano da turma: "); 18 | entrada = Console.ReadLine(); 19 | int.TryParse(entrada, out int tamanhoTurma); 20 | 21 | for (int i = 1; i <= tamanhoTurma; i++) { 22 | Console.Write("Informe a nota do aluno {0}: ", i); 23 | entrada = Console.ReadLine(); 24 | double.TryParse(entrada, out double notaAtual); 25 | 26 | somatorio += notaAtual; 27 | } 28 | 29 | double media = tamanhoTurma > 0 ? somatorio / tamanhoTurma : 0; 30 | Console.WriteLine("Media da turma: {0}", media); 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/EstruturasDeControle/EstruturaForEach.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.EstruturasDeControle 6 | { 7 | class EstruturaForEach 8 | { 9 | public static void Executar() { 10 | var palavra = "Opa!"; 11 | 12 | foreach (var letra in palavra) { 13 | Console.WriteLine(letra); 14 | } 15 | 16 | var alunos = new string[] { "Ana", "Bia", "Carlos" }; 17 | 18 | foreach (string aluno in alunos) { 19 | Console.WriteLine(aluno); 20 | } 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/EstruturasDeControle/EstruturaIf.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.EstruturasDeControle 6 | { 7 | class EstruturaIf 8 | { 9 | public static void Executar() { 10 | bool bomComportamento = false; 11 | string entrada; 12 | 13 | Console.Write("Digite a nota do aluno: "); 14 | entrada = Console.ReadLine(); 15 | Double.TryParse(entrada, out double nota); 16 | 17 | Console.WriteLine("Possui bom comportamento (S/N): "); 18 | entrada = Console.ReadLine(); 19 | 20 | //if (entrada == "S" || entrada == "s") 21 | // bomComportamento = true; 22 | 23 | // bomComportamento = entrada == "S" || entrada == "s"; 24 | bomComportamento = entrada.ToLower() == "s"; 25 | 26 | if (nota >= 9.0 && bomComportamento) { 27 | Console.WriteLine("Quadro de honra!"); 28 | } 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/EstruturasDeControle/EstruturaIfElse.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.EstruturasDeControle 6 | { 7 | class EstruturaIfElse 8 | { 9 | public static void Executar() { 10 | double nota = 7.0; 11 | 12 | if (nota >= 7.0) { 13 | Console.WriteLine("Aprovado!"); 14 | Console.WriteLine("Não fez mais que sua obrigação..."); 15 | } else { 16 | Console.WriteLine("Recuperação"); 17 | } 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/EstruturasDeControle/EstruturaIfElseIf.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.EstruturasDeControle 6 | { 7 | class EstruturaIfElseIf 8 | { 9 | public static void Executar() { 10 | Console.Write("Digite a nota do aluno: "); 11 | 12 | string entrada = Console.ReadLine(); 13 | Double.TryParse(entrada, out double nota); 14 | 15 | if(nota >= 9.0) { 16 | Console.WriteLine("Quadro de honra!"); 17 | } else if(nota >= 7.0) { 18 | Console.WriteLine("Aprovado!"); 19 | } else if(nota >= 5.0) { 20 | Console.WriteLine("Recuperação"); 21 | } else { 22 | Console.WriteLine("Te vejo na proxima..."); 23 | } 24 | 25 | Console.WriteLine("Fim!!"); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/EstruturasDeControle/EstruturaSwitch.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.EstruturasDeControle 6 | { 7 | class EstruturaSwitch 8 | { 9 | public static void Executar() { 10 | Console.Write("Avalie meu atendimento com uma nota de 1 a 5: "); 11 | int.TryParse(Console.ReadLine(), out int nota); 12 | 13 | switch (nota) { 14 | case 0: 15 | Console.WriteLine("Péssimo"); 16 | break; 17 | case 1: 18 | case 2: 19 | Console.WriteLine("Ruim"); 20 | break; 21 | case 3: 22 | Console.WriteLine("Regular"); 23 | break; 24 | case 4: 25 | Console.WriteLine("Bom"); 26 | break; 27 | case 5: 28 | Console.WriteLine("Ótimo"); 29 | Console.WriteLine("Parabéns!"); 30 | break; 31 | default: 32 | Console.WriteLine("Nota inválida"); 33 | break; 34 | } 35 | 36 | Console.WriteLine("Obrigado por responder!"); 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/EstruturasDeControle/EstruturaWhile.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.EstruturasDeControle 6 | { 7 | class EstruturaWhile 8 | { 9 | public static void Executar() { 10 | int palpite = 0; 11 | Random random = new Random(); 12 | 13 | int numeroSecreto = random.Next(1, 16); 14 | bool numeroEncontrado = false; 15 | int tentativasRestantes = 5; 16 | int tentativas = 0; 17 | 18 | while (tentativasRestantes > 0 && !numeroEncontrado) { 19 | Console.Write("Insira o seu palpite: "); 20 | string entrada = Console.ReadLine(); 21 | int.TryParse(entrada, out palpite); 22 | 23 | tentativas++; 24 | tentativasRestantes--; 25 | 26 | if (numeroSecreto == palpite) { 27 | numeroEncontrado = true; 28 | var corAnterior = Console.BackgroundColor; 29 | Console.BackgroundColor = ConsoleColor.Green; 30 | Console.WriteLine("Numero encontrado em {0} tentativas", 31 | tentativas); 32 | Console.BackgroundColor = corAnterior; 33 | } else if (palpite > numeroSecreto) { 34 | Console.WriteLine("Menor... Tente novamente!"); 35 | Console.WriteLine("Tentativas restantes: {0}", 36 | tentativasRestantes); 37 | } else { 38 | Console.WriteLine("Maior... Tente novamente!"); 39 | Console.WriteLine("Tentativas restantes: {0}", 40 | tentativasRestantes); 41 | } 42 | } 43 | } 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/EstruturasDeControle/UsandoBreak.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.EstruturasDeControle 6 | { 7 | class UsandoBreak 8 | { 9 | public static void Executar() { 10 | Random random = new Random(); 11 | int numero = random.Next(1, 51); 12 | 13 | Console.WriteLine("O número que queremos é {0}.", numero); 14 | 15 | for (int i = 1; i <= 50; i++) { 16 | Console.Write("{0} é o numero que queremos? ", i); 17 | if (i == numero) { 18 | Console.WriteLine("Sim!"); 19 | break; 20 | } else { 21 | Console.WriteLine("Não!"); 22 | } 23 | } 24 | 25 | Console.WriteLine("Fim!"); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/EstruturasDeControle/UsandoContinue.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.EstruturasDeControle 6 | { 7 | class UsandoContinue 8 | { 9 | public static void Executar() { 10 | int intervalo = 50; 11 | Console.WriteLine("Numeros pares entre 1 e {0}!", intervalo); 12 | 13 | for (int i = 1; i <= intervalo; i++) { 14 | if (i % 2 == 1) { 15 | continue; 16 | } 17 | 18 | Console.Write(i + " "); 19 | } 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/Excecoes/ExcecoesPersonalizadas.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.Excecoes 6 | { 7 | public class NegativoException : Exception { 8 | public NegativoException() { } 9 | 10 | public NegativoException(string message) : base(message) { } 11 | 12 | public NegativoException(string message, Exception inner) 13 | : base(message, inner) { } 14 | } 15 | 16 | public class ImparException : Exception { 17 | public ImparException(string message) : base(message) { } 18 | } 19 | 20 | class ExcecoesPersonalizadas 21 | { 22 | public static int PositivoPar() { 23 | Random random = new Random(); 24 | int valor = random.Next(-30, 30); 25 | 26 | if (valor < 0) { 27 | throw new NegativoException("Número negativo... :("); 28 | } 29 | 30 | if(valor % 2 == 1) { 31 | throw new ImparException("Valor impar... :("); 32 | } 33 | 34 | return valor; 35 | } 36 | 37 | public static void Executar() { 38 | try { 39 | Console.WriteLine(PositivoPar()); 40 | } catch(NegativoException ex) { 41 | Console.WriteLine(ex.Message); 42 | } catch(ImparException ex) { 43 | Console.WriteLine(ex.Message); 44 | } 45 | } 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/Excecoes/PrimeiraExcecao.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.Excecoes 6 | { 7 | public class Conta { 8 | double Saldo; 9 | 10 | public Conta(double saldo) { 11 | Saldo = saldo; 12 | } 13 | 14 | public void Sacar(double valor) { 15 | if (valor > Saldo) { 16 | throw new ArgumentException("Saldo insuficiente."); 17 | } 18 | 19 | Saldo -= valor; 20 | } 21 | } 22 | 23 | class PrimeiraExcecao 24 | { 25 | public static void Executar() { 26 | var conta = new Conta(1_223.45); 27 | 28 | try { 29 | // int.Parse("abc"); 30 | 31 | conta.Sacar(1600); 32 | Console.WriteLine("Retirada com sucesso!"); 33 | } catch (Exception ex) { 34 | Console.WriteLine(ex.GetType().Name); 35 | Console.WriteLine(ex.Message); 36 | } finally { 37 | Console.WriteLine("Obrigado!"); 38 | } 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/Fundamentos/Comentarios.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.Fundamentos 6 | { 7 | /// 8 | /// 9 | /// 10 | class Comentarios 11 | { 12 | public static void Executar() { 13 | // Cuidado com os comentários desnecessários 14 | Console.WriteLine("Código claro é sempre melhor!"); 15 | 16 | /* 17 | * Esse é um comentário 18 | * de múltiplas linhas... 19 | */ 20 | Console.WriteLine("O C# tem o XML Comments"); 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/Fundamentos/Conversoes.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.Fundamentos 6 | { 7 | class Conversoes 8 | { 9 | public static void Executar() { 10 | int inteiro = 10; 11 | double quebrado = inteiro; 12 | Console.WriteLine(quebrado); 13 | 14 | double nota = 9.7; 15 | int notaTruncada = (int) nota; 16 | Console.WriteLine("Nota truncada: {0}", notaTruncada); 17 | 18 | Console.Write("Digite sua idade: "); 19 | string idadeString = Console.ReadLine(); 20 | int idadeInteiro = int.Parse(idadeString); 21 | Console.WriteLine("Idade inserida: {0}", idadeInteiro); 22 | 23 | idadeInteiro = Convert.ToInt32(idadeString); 24 | Console.WriteLine("Resultado: {0}", idadeInteiro); 25 | 26 | Console.Write("Digite o primeiro número: "); 27 | string palavra = Console.ReadLine(); 28 | int numero1; 29 | int.TryParse(palavra, out numero1); 30 | Console.WriteLine("Resultado 1: {0}", numero1); 31 | 32 | Console.Write("Digite o segundo número: "); 33 | int.TryParse(Console.ReadLine(), out int numero2); 34 | Console.WriteLine("Resultado 2: {0}", numero2); 35 | } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/Fundamentos/FormatandoNumero.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Globalization; 3 | 4 | namespace CursoCSharp.Fundamentos 5 | { 6 | class FormatandoNumero 7 | { 8 | public static void Executar() { 9 | double valor = 15.175; 10 | Console.WriteLine(valor.ToString("F1")); 11 | Console.WriteLine(valor.ToString("C")); 12 | Console.WriteLine(valor.ToString("P")); 13 | Console.WriteLine(valor.ToString("#.##")); 14 | 15 | CultureInfo cultura = new CultureInfo("en-US"); 16 | Console.WriteLine(valor.ToString("C0", cultura)); 17 | 18 | int inteiro = 256; 19 | Console.WriteLine(inteiro.ToString("D10")); 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/Fundamentos/Inferencia.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.Fundamentos 6 | { 7 | class Inferencia 8 | { 9 | public static void Executar() { 10 | var nome = "Leonardo"; 11 | // nome = 123; 12 | Console.WriteLine(nome); 13 | 14 | // int idade; 15 | var idade = 32; 16 | Console.WriteLine(idade); 17 | 18 | int a; 19 | a = 3; 20 | 21 | int b = 2; 22 | 23 | Console.WriteLine(a + b); 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/Fundamentos/Interpolacao.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.Fundamentos 6 | { 7 | class Interpolacao 8 | { 9 | public static void Executar() { 10 | string nome = "Notebook Gamer"; 11 | string marca = "Dell"; 12 | double preco = 5800.00; 13 | 14 | Console.WriteLine("O " + nome + " da marca " 15 | + marca + " custa " + preco + "."); 16 | Console.WriteLine("O {0} da marca {1} custa {2}.", 17 | nome, marca, preco); 18 | Console.WriteLine($"A marca {marca} é legal!"); 19 | Console.WriteLine($"1 + 1 = {1 + 1}!"); 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/Fundamentos/LendoDados.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Globalization; 3 | 4 | namespace CursoCSharp.Fundamentos 5 | { 6 | class LendoDados 7 | { 8 | public static void Executar() { 9 | Console.Write("Qual é o seu nome? "); 10 | string nome = Console.ReadLine(); 11 | 12 | Console.Write("Qual é a sua idade? "); 13 | int idade = int.Parse(Console.ReadLine()); 14 | 15 | Console.Write("Qual é o seu salário? "); 16 | double salario = double.Parse(Console.ReadLine(), 17 | CultureInfo.InvariantCulture); 18 | 19 | Console.WriteLine($"{nome} {idade} R${salario}"); 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/Fundamentos/NotacaoPonto.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.Fundamentos 6 | { 7 | class NotacaoPonto 8 | { 9 | public static void Executar() { 10 | var saudacao = "olá".ToUpper().Insert(3, " World!") 11 | .Replace("World!", "Mundo!"); 12 | Console.WriteLine(saudacao); 13 | 14 | Console.WriteLine("Teste".Length); 15 | 16 | string valorImportante = null; 17 | Console.WriteLine(valorImportante?.Length); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/Fundamentos/OperadorTernario.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.Fundamentos 6 | { 7 | class OperadorTernario 8 | { 9 | public static void Executar() { 10 | var nota = 9.0; 11 | bool bomComportamento = true; 12 | string resultado = nota >= 7.0 && bomComportamento 13 | ? "Aprovado" : "Reprovado"; 14 | Console.WriteLine(resultado); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/Fundamentos/OperadoresAritmeticos.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.Fundamentos 6 | { 7 | class OperadoresAritmeticos 8 | { 9 | public static void Executar() { 10 | // Preço Desconto 11 | var preco = 1000.0; 12 | var imposto = 355; 13 | var desconto = 0.1; 14 | 15 | double total = preco + imposto; 16 | var totalComDesconto = total - (total * desconto); 17 | Console.WriteLine("O preço final é {0}", totalComDesconto); 18 | 19 | // IMC 20 | double peso = 91.2; 21 | double altura = 1.82; 22 | double imc = peso / Math.Pow(altura, 2); 23 | Console.WriteLine($"IMC é {imc}."); 24 | 25 | // Número Par/Impar 26 | int par = 24; 27 | int impar = 55; 28 | Console.WriteLine("{0}/2 tem resto {1}", par, par % 2); 29 | Console.WriteLine("{0}/2 tem resto {1}", impar, impar % 2); 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/Fundamentos/OperadoresAtribuicao.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.Fundamentos 6 | { 7 | class OperadoresAtribuicao 8 | { 9 | public static void Executar() { 10 | var num1 = 3; 11 | num1 = 7; 12 | num1 += 10; // num1 = num1 + 10; 13 | num1 -= 3; // num1 = num1 - 3; 14 | num1 *= 5; // num1 = num1 * 5; 15 | num1 /= 2; // num1 = num1 / 2; 16 | 17 | Console.WriteLine(num1); 18 | 19 | int a = 1; 20 | int b = a; 21 | 22 | a++; // a = a + 1; 23 | b--; // b = b - 1; 24 | 25 | Console.WriteLine($"{a} {b}"); 26 | 27 | // Não se preocupe com o código 28 | dynamic c = new System.Dynamic.ExpandoObject(); 29 | c.nome = "João"; 30 | 31 | dynamic d = c; 32 | d.nome = "Maria"; 33 | 34 | Console.WriteLine(c.nome); 35 | } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/Fundamentos/OperadoresLogicos.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.Fundamentos 6 | { 7 | class OperadoresLogicos 8 | { 9 | public static void Executar() { 10 | var executouTrabalho1 = false; 11 | var executouTrabalho2 = false; 12 | 13 | bool comprouTv50 = executouTrabalho1 && executouTrabalho2; 14 | Console.WriteLine("Comprou a Tv 50? {0}", comprouTv50); 15 | 16 | var comprouSorvete = executouTrabalho1 || executouTrabalho2; 17 | Console.WriteLine("Comprou o sorvete? {0}", comprouSorvete); 18 | 19 | var comprouTv32 = executouTrabalho1 ^ executouTrabalho2; 20 | Console.WriteLine("Comprou a Tv 32? {0}", comprouTv32); 21 | 22 | Console.WriteLine("Mais saudável? {0}", !comprouSorvete); 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/Fundamentos/OperadoresRelacionais.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.Fundamentos 6 | { 7 | class OperadoresRelacionais 8 | { 9 | public static void Executar() { 10 | // double nota = 6.0; 11 | Console.Write("Digite a nota: "); 12 | double.TryParse(Console.ReadLine(), out double nota); 13 | double notaDeCorte = 7.0; 14 | 15 | Console.WriteLine("Nota inválida? {0}", nota > 10.0); 16 | Console.WriteLine("Nota inválida? {0}", nota < 0.0); 17 | Console.WriteLine("Perfeito? {0}", nota == 10.0); 18 | Console.WriteLine("Tem como melhorar? {0}", nota != 10.0); 19 | Console.WriteLine("Passou por média? {0}", nota >= notaDeCorte); 20 | Console.WriteLine("Recuperação? {0}", nota < notaDeCorte); 21 | Console.WriteLine("Reprovado? {0}", nota <= 3.0); 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/Fundamentos/OperadoresUnarios.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.Fundamentos 6 | { 7 | class OperadoresUnarios 8 | { 9 | public static void Executar() { 10 | var valorNegativo = -5; 11 | var numero1 = 2; 12 | var numero2 = 3; 13 | var booleano = true; 14 | 15 | Console.WriteLine(-valorNegativo); 16 | Console.WriteLine(!booleano); 17 | 18 | numero1++; 19 | Console.WriteLine(numero1); 20 | 21 | --numero1; 22 | Console.WriteLine(numero1); 23 | 24 | Console.WriteLine(numero1++ == --numero2); 25 | Console.WriteLine($"{numero1} {numero2}"); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/Fundamentos/PrimeiroPrograma.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace CursoCSharp.Fundamentos { 4 | class PrimeiroPrograma { 5 | public static void Executar() { 6 | Console.Write("Primeiro "); 7 | Console.WriteLine("Programa"); 8 | Console.WriteLine("Terminou!"); 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/Fundamentos/VariaveisEConstantes.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.Fundamentos 6 | { 7 | class VariaveisEConstantes 8 | { 9 | public static void Executar() { 10 | // area da circunferencia 11 | double raio = 4.5; 12 | const double PI = 3.14; 13 | 14 | raio = 5.5; 15 | // PI = 3.1415; 16 | 17 | double area = PI * raio * raio; 18 | Console.WriteLine(area); 19 | Console.WriteLine("Área é " + area); 20 | 21 | // Tipos internos 22 | 23 | bool estaChovendo = true; 24 | Console.WriteLine("Está chovendo " + estaChovendo); 25 | 26 | byte idade = 45; 27 | Console.WriteLine("Idade " + idade); 28 | 29 | sbyte saldoDeGols = sbyte.MinValue; 30 | Console.WriteLine("Saldo de Gols " + saldoDeGols); 31 | 32 | short salario = short.MaxValue; 33 | Console.WriteLine("Salário " + salario); 34 | 35 | int menorValorInt = int.MinValue; // Mais usado dos inteiros! 36 | Console.WriteLine("Menor int " + menorValorInt); 37 | 38 | uint populacaoBrasileira = 207_600_000; 39 | Console.WriteLine("População Brasileira " + populacaoBrasileira); 40 | 41 | long menorValorLong = long.MinValue; 42 | Console.WriteLine("Menor long " + menorValorLong); 43 | 44 | ulong populacaoMundial = 7_600_000_000; 45 | Console.WriteLine("População Mundial " + populacaoMundial); 46 | 47 | float precoComputador = 1299.99F; 48 | Console.WriteLine("Preço Computador " + precoComputador); 49 | 50 | double valorDeMercadoDaApple = 1_000_000_000_000.00; // Mais usado dos reais! 51 | Console.WriteLine("Valor Apple " + valorDeMercadoDaApple); 52 | 53 | decimal distanciaEntreEstrelas = decimal.MaxValue; 54 | Console.WriteLine("Distância entre Estrelas " + distanciaEntreEstrelas); 55 | 56 | char letra = 'b'; 57 | Console.WriteLine("Letra " + letra); 58 | 59 | string texto = "Seja bem vindo ao Curso de C#!"; 60 | Console.WriteLine(texto); 61 | } 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/MetodosEFuncoes/DelegateFunAnonima.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.MetodosEFuncoes 6 | { 7 | class DelegateFunAnonima 8 | { 9 | delegate string StringOperacao(string s); 10 | 11 | public static void Executar() { 12 | StringOperacao inverter = delegate (string s) { 13 | char[] charArray = s.ToCharArray(); 14 | Array.Reverse(charArray); 15 | return new string(charArray); 16 | }; 17 | 18 | Console.WriteLine(inverter("C# é show!!!")); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/MetodosEFuncoes/DelegatesComoParametros.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.MetodosEFuncoes 6 | { 7 | class DelegatesComoParametros 8 | { 9 | public delegate int Operacao(int x, int y); 10 | 11 | public static int Soma(int x, int y) { 12 | return x + y; 13 | } 14 | 15 | public static string Calculadora(Operacao op, int x, int y) { 16 | var resultado = op(x, y); 17 | return "Resultado: " + resultado; 18 | } 19 | 20 | public static void Executar() { 21 | Operacao subtracao = (int x, int y) => x - y; 22 | Console.WriteLine(Calculadora(subtracao, 3, 2)); 23 | 24 | Console.WriteLine(Calculadora(Soma, 3, 2)); 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/MetodosEFuncoes/ExemploLambda.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.MetodosEFuncoes 6 | { 7 | class ExemploLambda 8 | { 9 | public static void Executar() { 10 | Action algoNoConsole = () => { 11 | Console.WriteLine("Lambda com C#!"); 12 | }; 13 | 14 | algoNoConsole(); 15 | 16 | Func jogarDado = () => { 17 | Random random = new Random(); 18 | return random.Next(1, 7); 19 | }; 20 | 21 | Console.WriteLine(jogarDado()); 22 | 23 | Func conversorHex = numero => numero.ToString("X"); 24 | Console.WriteLine(conversorHex(1234)); 25 | 26 | Func formatarData = (dia, mes, ano) => 27 | String.Format("{0:D2}/{1:D2}/{2:D4}", dia, mes, ano); 28 | Console.WriteLine(formatarData(1, 1, 2019)); 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/MetodosEFuncoes/LambdasDelegate.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.MetodosEFuncoes 6 | { 7 | delegate double Operacao(double x, double y); 8 | 9 | class LambdasDelegate 10 | { 11 | public static void Executar() { 12 | Operacao sum = (x, y) => x + y; 13 | Operacao sub = (x, y) => x - y; 14 | Operacao mult = (x, y) => x * y; 15 | 16 | Console.WriteLine(sum(3, 3)); 17 | Console.WriteLine(sub(5, 2)); 18 | Console.WriteLine(mult(12, 8)); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/MetodosEFuncoes/MetodosDeExtensao.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.MetodosEFuncoes 6 | { 7 | public static class ExtensoesInteiro { 8 | public static int Soma(this int num, int outroNumero) { 9 | return num + outroNumero; 10 | } 11 | 12 | public static int Subtracao(this int num, int outroNumero) { 13 | return num - outroNumero; 14 | } 15 | } 16 | 17 | class MetodosDeExtensao 18 | { 19 | public static void Executar() { 20 | int numero = 5; 21 | 22 | Console.WriteLine(numero.Soma(3)); 23 | Console.WriteLine(numero.Subtracao(10)); 24 | 25 | Console.WriteLine(2.Soma(3)); 26 | Console.WriteLine(2.Subtracao(4)); 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/MetodosEFuncoes/UsandoDelegates.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.MetodosEFuncoes 6 | { 7 | class UsandoDelegates 8 | { 9 | delegate double Soma(double a, double b); 10 | delegate void ImprimirSoma(double a, double b); 11 | 12 | static double MinhaSoma(double x, double y) { 13 | return x + y; 14 | } 15 | 16 | static void MeuImprimirSoma(double a, double b) { 17 | Console.WriteLine(a + b); 18 | } 19 | 20 | public static void Executar() { 21 | Soma op1 = MinhaSoma; 22 | Console.WriteLine(op1(2, 3.9)); 23 | 24 | ImprimirSoma op2 = MeuImprimirSoma; 25 | op2(5.4, 8); 26 | 27 | Func op3 = MinhaSoma; 28 | Console.WriteLine(op3(2.5, 3)); 29 | 30 | Action op4 = MeuImprimirSoma; 31 | op4(7.7, 23.4); 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/OO/Abstract.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.OO 6 | { 7 | public abstract class Celular { 8 | public abstract string Assistente(); 9 | 10 | public string Tocar() { 11 | return "Trim trim trim..."; 12 | } 13 | } 14 | 15 | public class Samsung : Celular { 16 | public override string Assistente() { 17 | return "Olá! Meu nome é Bixby!"; 18 | } 19 | } 20 | 21 | public class IPhone : Celular { 22 | public override string Assistente() { 23 | return "Olá! Meu nome é Siri!"; 24 | } 25 | } 26 | 27 | class Abstract 28 | { 29 | public static void Executar() { 30 | var celulares = new List { 31 | new IPhone(), 32 | new Samsung() 33 | }; 34 | 35 | foreach (var celular in celulares) { 36 | Console.WriteLine(celular.Assistente()); 37 | } 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/OO/ConstrutorThis.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.OO 6 | { 7 | public class Animal { 8 | public string Nome { get; set; } 9 | 10 | public Animal(string nome) { 11 | Nome = nome; 12 | } 13 | } 14 | 15 | public class Cachorro : Animal { 16 | public double Altura { get; set; } 17 | 18 | public Cachorro(string nome) : base(nome) { 19 | Console.WriteLine($"Cachorro {nome} inicializado"); 20 | } 21 | 22 | public Cachorro(string nome, double altura) : this(nome) { 23 | Altura = altura; 24 | } 25 | 26 | public override string ToString() { 27 | return $"{Nome} tem {Altura}cm de altura!"; 28 | } 29 | } 30 | 31 | class ConstrutorThis 32 | { 33 | public static void Executar() { 34 | var spike = new Cachorro("Spike"); 35 | var max = new Cachorro("Max", 40.0); 36 | 37 | Console.WriteLine(spike); 38 | Console.WriteLine(max.ToString()); 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/OO/Encapsulamento.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Encapsulamento; 3 | 4 | namespace CursoCSharp.OO 5 | { 6 | public class FilhoNaoReconhecido : SubCelebridade { 7 | public new void MeusAcessos() { 8 | Console.WriteLine("FilhoNaoReconhecido..."); 9 | 10 | Console.WriteLine(InfoPublica); 11 | Console.WriteLine(CorDoOlho); 12 | // Console.WriteLine(NumeroCelular); 13 | Console.WriteLine(JeitoDeFalar); 14 | // Console.WriteLine(SegredoFamilia); 15 | // Console.WriteLine(UsaMuitoPhotoshop); 16 | } 17 | } 18 | 19 | public class AmigoDistante { 20 | public readonly SubCelebridade amiga = new SubCelebridade(); 21 | 22 | public void MeusAcessos() { 23 | Console.WriteLine("AmigoDistante..."); 24 | 25 | Console.WriteLine(amiga.InfoPublica); 26 | //Console.WriteLine(amiga.CorDoOlho); 27 | //Console.WriteLine(amiga.NumeroCelular); 28 | //Console.WriteLine(amiga.JeitoDeFalar); 29 | //Console.WriteLine(amiga.SegredoFamilia); 30 | //Console.WriteLine(amiga.UsaMuitoPhotoshop); 31 | } 32 | } 33 | 34 | class Encapsulamento 35 | { 36 | public static void Executar() { 37 | SubCelebridade sub = new SubCelebridade(); 38 | sub.MeusAcessos(); 39 | 40 | new FilhoReconhecido().MeusAcessos(); 41 | new AmigoProximo().MeusAcessos(); 42 | 43 | new FilhoNaoReconhecido().MeusAcessos(); 44 | new AmigoDistante().MeusAcessos(); 45 | } 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/OO/Heranca.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.OO 6 | { 7 | public class Carro { 8 | protected readonly int VelocidadeMaxima; 9 | int VelocidadeAtual; 10 | 11 | public Carro(int velocidadeMaxima) { 12 | VelocidadeMaxima = velocidadeMaxima; 13 | } 14 | 15 | protected int AlterarVelocidade(int delta) { 16 | int novaVelocidade = VelocidadeAtual + delta; 17 | 18 | if (novaVelocidade < 0) { 19 | VelocidadeAtual = 0; 20 | } else if (novaVelocidade > VelocidadeMaxima) { 21 | VelocidadeAtual = VelocidadeMaxima; 22 | } else { 23 | VelocidadeAtual = novaVelocidade; 24 | } 25 | 26 | return VelocidadeAtual; 27 | } 28 | 29 | public virtual int Acelerar() { 30 | return AlterarVelocidade(5); 31 | } 32 | 33 | public int Frear() { 34 | return AlterarVelocidade(-5); 35 | } 36 | } 37 | 38 | public class Uno : Carro { 39 | public Uno() : base(200) { 40 | 41 | } 42 | } 43 | 44 | public class Ferrari : Carro { 45 | public Ferrari() : base(350) { 46 | 47 | } 48 | 49 | public override int Acelerar() { 50 | return AlterarVelocidade(15); 51 | } 52 | 53 | // Oculta o método da classe Pai 54 | public new int Frear() { 55 | return AlterarVelocidade(-15); 56 | } 57 | } 58 | 59 | class Heranca 60 | { 61 | public static void Executar() { 62 | Console.WriteLine("Uno..."); 63 | Uno carro1 = new Uno(); 64 | Console.WriteLine(carro1.Acelerar()); 65 | Console.WriteLine(carro1.Acelerar()); 66 | Console.WriteLine(carro1.Frear()); 67 | Console.WriteLine(carro1.Frear()); 68 | Console.WriteLine(carro1.Frear()); 69 | 70 | Console.WriteLine("Ferrari..."); 71 | Ferrari carro2 = new Ferrari(); 72 | Console.WriteLine(carro2.Acelerar()); 73 | Console.WriteLine(carro2.Acelerar()); 74 | Console.WriteLine(carro2.Frear()); 75 | Console.WriteLine(carro2.Frear()); 76 | Console.WriteLine(carro2.Frear()); 77 | 78 | Console.WriteLine("Ferrari com tipo Carro..."); 79 | Carro carro3 = new Ferrari(); 80 | Console.WriteLine(carro3.Acelerar()); 81 | Console.WriteLine(carro3.Acelerar()); 82 | Console.WriteLine(carro3.Frear()); 83 | Console.WriteLine(carro3.Frear()); 84 | Console.WriteLine(carro3.Frear()); 85 | 86 | Console.WriteLine("Uno com tipo Carro..."); 87 | carro3 = new Uno(); // Polimorfismo 88 | Console.WriteLine(carro3.Acelerar()); 89 | Console.WriteLine(carro3.Acelerar()); 90 | Console.WriteLine(carro3.Frear()); 91 | Console.WriteLine(carro3.Frear()); 92 | Console.WriteLine(carro3.Frear()); 93 | } 94 | } 95 | } 96 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/OO/Interface.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.OO 6 | { 7 | interface OperacaoBinaria { 8 | int Operacao(int a, int b); 9 | } 10 | 11 | class Soma : OperacaoBinaria { 12 | public int Operacao(int a, int b) { 13 | return a + b; 14 | } 15 | } 16 | 17 | class Subtracao : OperacaoBinaria { 18 | public int Operacao(int a, int b) { 19 | return a - b; 20 | } 21 | } 22 | 23 | class Multiplicacao : OperacaoBinaria { 24 | public int Operacao(int a, int b) { 25 | return a * b; 26 | } 27 | } 28 | 29 | class Calculadora { 30 | List operacoes = new List { 31 | new Soma(), 32 | new Subtracao(), 33 | new Multiplicacao() 34 | }; 35 | 36 | public string ExecutarOperacoes(int a, int b) { 37 | string resultado = ""; 38 | 39 | foreach (var op in operacoes) { 40 | resultado += 41 | $"Usando {op.GetType().Name} = {op.Operacao(a, b)}\n"; 42 | } 43 | 44 | return resultado; 45 | } 46 | } 47 | 48 | class Interface 49 | { 50 | public static void Executar() { 51 | var calc = new Calculadora(); 52 | var resultado = calc.ExecutarOperacoes(20, 5); 53 | Console.WriteLine(resultado); 54 | } 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/OO/Polimorfismo.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.OO 6 | { 7 | public class Comida { 8 | public double Peso; 9 | 10 | public Comida(double peso) { 11 | Peso = peso; 12 | } 13 | 14 | public Comida() { } 15 | } 16 | 17 | public class Feijao : Comida { 18 | public Feijao(double peso) : base(peso) { } 19 | } 20 | 21 | public class Arroz : Comida { 22 | 23 | } 24 | 25 | public class Carne : Comida { 26 | 27 | } 28 | 29 | public class Pessoa { 30 | public double Peso; 31 | 32 | //public void Comer(Feijao feijao) { 33 | // Peso += feijao.Peso; 34 | //} 35 | 36 | //public void Comer(Arroz arroz) { 37 | // Peso += arroz.Peso; 38 | //} 39 | 40 | //public void Comer(Carne carne) { 41 | // Peso += carne.Peso; 42 | //} 43 | 44 | public void Comer(Comida comida) { 45 | Peso += comida.Peso; 46 | } 47 | } 48 | 49 | class Polimorfismo 50 | { 51 | public static void Executar() { 52 | Feijao ingrediente1 = new Feijao(0.3); 53 | 54 | Arroz ingrediente2 = new Arroz(); 55 | ingrediente2.Peso = 0.25; 56 | 57 | Carne ingrediente3 = new Carne(); 58 | ingrediente3.Peso = 0.3; 59 | 60 | Pessoa cliente = new Pessoa(); 61 | cliente.Peso = 80.2; 62 | cliente.Comer(ingrediente1); 63 | cliente.Comer(ingrediente2); 64 | cliente.Comer(ingrediente3); 65 | 66 | Console.WriteLine($"Agora o peso do cliente é {cliente.Peso}Kg!"); 67 | } 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/OO/Sealed.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.OO 6 | { 7 | sealed class SemFilho { 8 | public double ValorDaFortuna() { 9 | return 1_407_033.65; 10 | } 11 | } 12 | 13 | //class SouFilho : SemFilho { 14 | 15 | //} 16 | 17 | class Avo { 18 | public virtual bool HonrarNomeFamilia() { 19 | return true; 20 | } 21 | } 22 | 23 | class Pai : Avo { 24 | public override sealed bool HonrarNomeFamilia() { 25 | return true; 26 | } 27 | } 28 | 29 | class FilhoRebelde : Pai { 30 | //public override bool HonrarNomeFamilia() { 31 | // return false; 32 | //} 33 | } 34 | 35 | class Sealed 36 | { 37 | public static void Executar() { 38 | SemFilho semFilho = new SemFilho(); 39 | Console.WriteLine(semFilho.ValorDaFortuna()); 40 | 41 | FilhoRebelde filho = new FilhoRebelde(); 42 | Console.WriteLine(filho.HonrarNomeFamilia()); 43 | } 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | 4 | using CursoCSharp.Fundamentos; 5 | using CursoCSharp.EstruturasDeControle; 6 | using CursoCSharp.ClassesEMetodos; 7 | using CursoCSharp.Colecoes; 8 | using CursoCSharp.OO; 9 | using CursoCSharp.MetodosEFuncoes; 10 | using CursoCSharp.Excecoes; 11 | using CursoCSharp.Api; 12 | using CursoCSharp.TopicosAvancados; 13 | 14 | namespace CursoCSharp { 15 | class Program { 16 | static void Main(string[] args) { 17 | var central = new CentralDeExercicios(new Dictionary() { 18 | // Fundamentos 19 | {"Primeiro Programa - Fundamentos", PrimeiroPrograma.Executar}, 20 | {"Comentários - Fundamentos", Comentarios.Executar}, 21 | {"Váriaveis e Constantes - Fundamentos", VariaveisEConstantes.Executar}, 22 | {"Inferência - Fundamentos", Inferencia.Executar}, 23 | {"Interpolação - Fundamentos", Interpolacao.Executar}, 24 | {"Notação Ponto - Fundamentos", NotacaoPonto.Executar}, 25 | {"Lendo Dados - Fundamentos", LendoDados.Executar}, 26 | {"Formatando Número - Fundamentos", FormatandoNumero.Executar}, 27 | {"Conversões - Fundamentos", Conversoes.Executar}, 28 | {"Operadores Aritmeticos - Fundamentos", OperadoresAritmeticos.Executar}, 29 | {"Operadores Relacionais - Fundamentos", OperadoresRelacionais.Executar}, 30 | {"Operadores Logicos - Fundamentos", OperadoresLogicos.Executar}, 31 | {"Operadores de Atribuição - Fundamentos", OperadoresAtribuicao.Executar}, 32 | {"Operadores Unários - Fundamentos", OperadoresUnarios.Executar}, 33 | {"Operador Ternário - Fundamentos", OperadorTernario.Executar}, 34 | 35 | // Estruturas de Controle 36 | {"Estrutura If - Estruturas de Controle", EstruturaIf.Executar}, 37 | {"Estrutura If/Else - Estruturas de Controle", EstruturaIfElse.Executar}, 38 | {"Estrutura If/Else/If - Estruturas de Controle", EstruturaIfElseIf.Executar}, 39 | {"Estrutura Switch - Estruturas de Controle", EstruturaSwitch.Executar}, 40 | {"Estrutura While - Estruturas de Controle", EstruturaWhile.Executar}, 41 | {"Estrutura Do While - Estruturas de Controle", EstruturaDoWhile.Executar}, 42 | {"Estrutura For - Estruturas de Controle", EstruturaFor.Executar}, 43 | {"Estrutura Foreach - Estruturas de Controle", EstruturaForEach.Executar}, 44 | {"Usando Break - Estruturas de Controle", UsandoBreak.Executar}, 45 | {"Usando Continue - Estruturas de Controle", UsandoContinue.Executar}, 46 | 47 | // Classes e Métodos 48 | { "Membros - Classes e Métodos", Membros.Executar}, 49 | { "Construtores - Classes e Métodos", Construtores.Executar}, 50 | { "Métodos Com Retorno - Classes e Métodos", MetodosComRetorno.Executar}, 51 | { "Métodos Estáticos - Classes e Métodos", MetodosEstaticos.Executar}, 52 | { "Atributos Estáticos - Classes e Métodos", AtributosEstaticos.Executar}, 53 | { "Desafio Atributo - Classes e Métodos", DesafioAtributo.Executar}, 54 | { "Params - Classes e Métodos", Params.Executar}, 55 | { "Parametros Nomeados - Classes e Métodos", ParametrosNomeados.Executar}, 56 | { "Get Set - Classes e Métodos", GetSet.Executar}, 57 | { "Props - Classes e Métodos", Props.Executar}, 58 | { "Readonly - Classes e Métodos", Readonly.Executar}, 59 | { "Enum - Classes e Métodos", ExemploEnum.Executar}, 60 | { "Struct - Classes e Métodos", ExemploStruct.Executar}, 61 | { "Struct Vs Classe - Classes e Métodos", StructVsClasse.Executar}, 62 | { "Valor Vs Referência - Classes e Métodos", ValorVsReferencia.Executar}, 63 | { "Parâmetros Por Referência - Classes e Métodos", ParametrosPorReferencia.Executar}, 64 | { "Parâmetro com Valor Padrão - Classes e Métodos", ParametroPadrao.Executar}, 65 | 66 | // Coleções 67 | { "Array - Coleções", Colecoes.Array.Executar}, 68 | { "List - Coleções", ColecoesList.Executar}, 69 | { "Array List - Coleções", ColecoesArrayList.Executar}, 70 | { "Set - Coleções", ColecoesSet.Executar}, 71 | { "Queue - Coleções", ColecoesQueue.Executar}, 72 | { "Igualdade - Coleções", Igualdade.Executar}, 73 | { "Stack - Coleções", ColecoesStack.Executar}, 74 | { "Dictionary - Coleções", ColecoesDictionary.Executar}, 75 | 76 | // OO 77 | { "Herança - OO", Heranca.Executar}, 78 | { "Construtor This - OO", ConstrutorThis.Executar}, 79 | { "Encapsulamento - OO", OO.Encapsulamento.Executar}, 80 | { "Polimorfismo - OO", Polimorfismo.Executar}, 81 | { "Abstract - OO", Abstract.Executar}, 82 | { "Interface - OO", Interface.Executar}, 83 | { "Sealed - OO", Sealed.Executar}, 84 | 85 | // Métodos & Funções 86 | { "Exemplo Lambda - Métodos & Funções", ExemploLambda.Executar}, 87 | { "Lambdas Como Delegates - Métodos & Funções", LambdasDelegate.Executar}, 88 | { "Usando Delegates - Métodos & Funções", UsandoDelegates.Executar}, 89 | { "Delegates Como Função Anonima - Métodos & Funções", DelegateFunAnonima.Executar}, 90 | { "Delegates Como Parâmetros - Métodos & Funções", DelegatesComoParametros.Executar}, 91 | { "Métodos de Extensão - Métodos & Funções", MetodosDeExtensao.Executar}, 92 | 93 | // Exceções 94 | { "Primeira Exceção - Exceções", PrimeiraExcecao.Executar}, 95 | { "Exceções Personalizadas - Exceções", ExcecoesPersonalizadas.Executar}, 96 | 97 | // Api 98 | { "Primeiro Arquivo - Usando API", PrimeiroArquivo.Executar}, 99 | { "Lendo Arquivos - Usando API", LendoArquivos.Executar}, 100 | { "Exemplo FileInfo - Usando API", ExemploFileInfo.Executar}, 101 | { "Diretórios - Usando API", Diretorios.Executar}, 102 | { "Exemplo DirectoryInfo - Usando API", ExemploDirectoryInfo.Executar}, 103 | { "Exemplo Path - Usando API", ExemploPath.Executar}, 104 | { "Exemplo DateTime - Usando API", ExemploDateTime.Executar}, 105 | { "Exemplo Timespan - Usando API", ExemploTimeSpan.Executar}, 106 | 107 | // Tópicos Avançados 108 | { "LINQ #01 - Tópicos Avançados", LINQ1.Executar}, 109 | { "LINQ #02 - Tópicos Avançados", LINQ2.Executar}, 110 | { "Nullables - Tópicos Avançados", Nullables.Executar}, 111 | { "Dynamics - Tópicos Avançados", Dynamics.Executar}, 112 | { "Genéricos - Tópicos Avançados", Genericos.Executar}, 113 | }); 114 | 115 | central.SelecionarEExecutar(); 116 | } 117 | } 118 | } -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/TopicosAvancados/Dynamics.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.TopicosAvancados 6 | { 7 | class Dynamics 8 | { 9 | public static void Executar() { 10 | dynamic meuObjeto = "teste"; 11 | meuObjeto = 3; 12 | 13 | meuObjeto++; 14 | Console.WriteLine(meuObjeto); 15 | 16 | dynamic aluno = new System.Dynamic.ExpandoObject(); 17 | aluno.nome = "Maria Julia"; 18 | aluno.nota = 8.9; 19 | aluno.idade = 24; 20 | 21 | Console.WriteLine($"{aluno.nome} {aluno.nota} {aluno.idade}"); 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/TopicosAvancados/Genericos.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using CursoCSharp.ClassesEMetodos; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace CursoCSharp.TopicosAvancados 7 | { 8 | public class Caixa { 9 | T valorPrivado; 10 | public T Coisa { get; set; } 11 | 12 | public Caixa(T coisa) { 13 | Coisa = coisa; 14 | valorPrivado = coisa; 15 | } 16 | 17 | public T metodoGenerico(T valor) { 18 | return new Random().Next(0, 2) == 0 ? Coisa : valor; 19 | } 20 | 21 | public T GetValor() { 22 | return valorPrivado; 23 | } 24 | } 25 | 26 | class CaixaInt : Caixa { 27 | public CaixaInt() : base(0) { 28 | 29 | } 30 | } 31 | 32 | class CaixaProduto : Caixa { 33 | public CaixaProduto() : base(new Produto()) { 34 | 35 | } 36 | } 37 | 38 | class Genericos 39 | { 40 | public static void Executar() { 41 | var caixa1 = new Caixa(1000); 42 | Console.WriteLine(caixa1.metodoGenerico(33)); 43 | Console.WriteLine(caixa1.Coisa.GetType()); 44 | 45 | var caixa2 = new Caixa("Construtor"); 46 | Console.WriteLine(caixa2.metodoGenerico("Método")); 47 | Console.WriteLine(caixa2.Coisa.GetType()); 48 | 49 | CaixaProduto caixa3 = new CaixaProduto(); 50 | Console.WriteLine(caixa3.Coisa.GetType().Name); 51 | } 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/TopicosAvancados/LINQ1.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | 5 | namespace CursoCSharp.TopicosAvancados 6 | { 7 | public class Aluno { 8 | public string Nome; 9 | public int Idade; 10 | public double Nota; 11 | } 12 | 13 | class LINQ1 14 | { 15 | public static void Executar() { 16 | var alunos = new List { 17 | new Aluno() {Nome = "Pedro", Idade = 24, Nota = 8.0 }, 18 | new Aluno() {Nome = "Andre", Idade = 21, Nota = 4.3 }, 19 | new Aluno() {Nome = "Ana", Idade = 25, Nota = 9.5 }, 20 | new Aluno() {Nome = "Jorge", Idade = 20, Nota = 8.5 }, 21 | new Aluno() {Nome = "Ana", Idade = 21, Nota = 7.7 }, 22 | new Aluno() {Nome = "Julia", Idade = 22, Nota = 7.5 }, 23 | new Aluno() {Nome = "Marcio", Idade = 18, Nota = 6.8 } 24 | }; 25 | 26 | Console.WriteLine("== Aprovados ==============="); 27 | var aprovados = alunos.Where(a => a.Nota >= 7) 28 | .OrderBy(a => a.Nome); 29 | foreach (var aluno in aprovados) { 30 | Console.WriteLine(aluno.Nome); 31 | } 32 | 33 | Console.WriteLine("\n== Chamada ==============="); 34 | var chamada = alunos.OrderBy(a => a.Nome).Select(a => a.Nome); 35 | foreach (var aluno in chamada) { 36 | Console.WriteLine(aluno); 37 | } 38 | 39 | Console.WriteLine("\n== Aprovados (por Idade) ==============="); 40 | var alunosAprovados = 41 | from aluno in alunos 42 | where aluno.Nota >= 7 43 | orderby aluno.Idade 44 | select aluno.Nome; 45 | 46 | foreach (var aluno in alunosAprovados) { 47 | Console.WriteLine(aluno); 48 | } 49 | } 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/TopicosAvancados/LINQ2.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | 5 | namespace CursoCSharp.TopicosAvancados 6 | { 7 | class LINQ2 8 | { 9 | public static void Executar() { 10 | var alunos = new List { 11 | new Aluno() {Nome = "Pedro", Idade = 24, Nota = 8.0 }, 12 | new Aluno() {Nome = "Andre", Idade = 21, Nota = 4.3 }, 13 | new Aluno() {Nome = "Ana", Idade = 25, Nota = 9.5 }, 14 | new Aluno() {Nome = "Jorge", Idade = 20, Nota = 8.5 }, 15 | new Aluno() {Nome = "Ana", Idade = 21, Nota = 7.7 }, 16 | new Aluno() {Nome = "Julia", Idade = 22, Nota = 7.5 }, 17 | new Aluno() {Nome = "Marcio", Idade = 18, Nota = 6.8 } 18 | }; 19 | 20 | var pedro = alunos.Single(aluno => aluno.Nome.Equals("Pedro")); 21 | Console.WriteLine($"{pedro.Nome} {pedro.Nota}"); 22 | 23 | var fulano = alunos.SingleOrDefault( 24 | aluno => aluno.Nome.Equals("Fulano")); 25 | if (fulano == null) { 26 | Console.WriteLine("Aluno Inexistente!"); 27 | } 28 | 29 | var ana = alunos.First(aluno => aluno.Nome.Equals("Ana")); 30 | Console.WriteLine(ana.Nota); 31 | 32 | var sicrano = alunos.FirstOrDefault( 33 | aluno => aluno.Nota.Equals("Sicrano")); 34 | if (sicrano == null) { 35 | Console.WriteLine("Aluno Inexistente!"); 36 | } 37 | 38 | var outraAna = alunos.LastOrDefault(aluno => aluno.Nome.Equals("Ana")); 39 | Console.WriteLine(outraAna.Nota); 40 | 41 | var exemploSkip = alunos.Skip(1).Take(3); 42 | foreach (var item in exemploSkip) { 43 | Console.WriteLine(item.Nome); 44 | } 45 | 46 | var maiorNota = alunos.Max(aluno => aluno.Nota); 47 | Console.WriteLine(maiorNota); 48 | 49 | var menorNota = alunos.Min(aluno => aluno.Nota); 50 | Console.WriteLine(menorNota); 51 | 52 | var somatorioNotas = alunos.Sum(aluno => aluno.Nota); 53 | Console.WriteLine(somatorioNotas); 54 | 55 | var mediaDaTurma = alunos.Average(aluno => aluno.Nota); 56 | Console.WriteLine(mediaDaTurma); 57 | } 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/TopicosAvancados/Nullables.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoCSharp.TopicosAvancados 6 | { 7 | class Nullables 8 | { 9 | public static void Executar() { 10 | Nullable num1 = null; 11 | int? num2 = null; 12 | 13 | if (num1.HasValue) { 14 | Console.WriteLine("Valor de num: {0}", num1); 15 | } else { 16 | Console.WriteLine("A variável não possui valor."); 17 | } 18 | 19 | int valor = num1 ?? 1000; 20 | Console.WriteLine(valor); 21 | 22 | bool? booleana = null; 23 | bool resultado = booleana.GetValueOrDefault(); 24 | Console.WriteLine(resultado); 25 | 26 | try { 27 | int x = num1.GetValueOrDefault(); 28 | int y = num2.GetValueOrDefault(); 29 | Console.WriteLine(x + y); 30 | } catch (Exception ex) { 31 | Console.WriteLine(ex.Message); 32 | } 33 | } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/bin/Debug/netcoreapp2.0/CursoCSharp.deps.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeTarget": { 3 | "name": ".NETCoreApp,Version=v2.0", 4 | "signature": "da39a3ee5e6b4b0d3255bfef95601890afd80709" 5 | }, 6 | "compilationOptions": {}, 7 | "targets": { 8 | ".NETCoreApp,Version=v2.0": { 9 | "CursoCSharp/1.0.0": { 10 | "dependencies": { 11 | "Encapsulamento": "1.0.0" 12 | }, 13 | "runtime": { 14 | "CursoCSharp.dll": {} 15 | } 16 | }, 17 | "Encapsulamento/1.0.0": { 18 | "runtime": { 19 | "Encapsulamento.dll": {} 20 | } 21 | } 22 | } 23 | }, 24 | "libraries": { 25 | "CursoCSharp/1.0.0": { 26 | "type": "project", 27 | "serviceable": false, 28 | "sha512": "" 29 | }, 30 | "Encapsulamento/1.0.0": { 31 | "type": "project", 32 | "serviceable": false, 33 | "sha512": "" 34 | } 35 | } 36 | } -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/bin/Debug/netcoreapp2.0/CursoCSharp.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cod3rcursos/curso-c-sharp/464fc7fcce26afcf46da1295e099c9087e1b9c2c/CursoCSharp/CursoCSharp/bin/Debug/netcoreapp2.0/CursoCSharp.dll -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/bin/Debug/netcoreapp2.0/CursoCSharp.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cod3rcursos/curso-c-sharp/464fc7fcce26afcf46da1295e099c9087e1b9c2c/CursoCSharp/CursoCSharp/bin/Debug/netcoreapp2.0/CursoCSharp.pdb -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/bin/Debug/netcoreapp2.0/CursoCSharp.runtimeconfig.dev.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "additionalProbingPaths": [ 4 | "C:\\Users\\Cod3r\\.dotnet\\store\\|arch|\\|tfm|", 5 | "C:\\Users\\Cod3r\\.nuget\\packages", 6 | "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" 7 | ] 8 | } 9 | } -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/bin/Debug/netcoreapp2.0/CursoCSharp.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp2.0", 4 | "framework": { 5 | "name": "Microsoft.NETCore.App", 6 | "version": "2.0.0" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/bin/Debug/netcoreapp2.0/Encapsulamento.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cod3rcursos/curso-c-sharp/464fc7fcce26afcf46da1295e099c9087e1b9c2c/CursoCSharp/CursoCSharp/bin/Debug/netcoreapp2.0/Encapsulamento.dll -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/bin/Debug/netcoreapp2.0/Encapsulamento.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cod3rcursos/curso-c-sharp/464fc7fcce26afcf46da1295e099c9087e1b9c2c/CursoCSharp/CursoCSharp/bin/Debug/netcoreapp2.0/Encapsulamento.pdb -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/obj/CursoCSharp.csproj.nuget.cache: -------------------------------------------------------------------------------- 1 | { 2 | "version": 1, 3 | "dgSpecHash": "RhA4al+HEyV77h+VWj3WIpZggg64Dl2PPJ5GFCrNHqKrbp5NiwZX6zLy8dNt240uO1l3ZH/oZqZH2dJn+4QBiw==", 4 | "success": true 5 | } -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/obj/CursoCSharp.csproj.nuget.g.props: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | True 5 | NuGet 6 | C:\Users\Cod3r\source\repos\CursoCSharp\CursoCSharp\obj\project.assets.json 7 | $(UserProfile)\.nuget\packages\ 8 | C:\Users\Cod3r\.nuget\packages\;C:\Program Files\dotnet\sdk\NuGetFallbackFolder 9 | PackageReference 10 | 4.7.0 11 | 12 | 13 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath) 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/obj/CursoCSharp.csproj.nuget.g.targets: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath) 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/obj/Debug/netcoreapp2.0/CursoCSharp.AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // O código foi gerado por uma ferramenta. 4 | // Versão de Tempo de Execução:4.0.30319.42000 5 | // 6 | // As alterações ao arquivo poderão causar comportamento incorreto e serão perdidas se 7 | // o código for gerado novamente. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | using System; 12 | using System.Reflection; 13 | 14 | [assembly: System.Reflection.AssemblyCompanyAttribute("CursoCSharp")] 15 | [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] 16 | [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] 17 | [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] 18 | [assembly: System.Reflection.AssemblyProductAttribute("CursoCSharp")] 19 | [assembly: System.Reflection.AssemblyTitleAttribute("CursoCSharp")] 20 | [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] 21 | 22 | // Gerado pela classe WriteCodeFragment do MSBuild. 23 | 24 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/obj/Debug/netcoreapp2.0/CursoCSharp.AssemblyInfoInputs.cache: -------------------------------------------------------------------------------- 1 | 1adbcea72f748c3e8454510489db31d068a6a8a1 2 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/obj/Debug/netcoreapp2.0/CursoCSharp.csproj.CopyComplete: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cod3rcursos/curso-c-sharp/464fc7fcce26afcf46da1295e099c9087e1b9c2c/CursoCSharp/CursoCSharp/obj/Debug/netcoreapp2.0/CursoCSharp.csproj.CopyComplete -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/obj/Debug/netcoreapp2.0/CursoCSharp.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | 8bbd6f104fc4c6e00543628377e1b43feae26a3e 2 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/obj/Debug/netcoreapp2.0/CursoCSharp.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | c:\users\cod3r\source\repos\CursoCSharp\CursoCSharp\bin\Debug\netcoreapp2.0\CursoCSharp.deps.json 2 | c:\users\cod3r\source\repos\CursoCSharp\CursoCSharp\bin\Debug\netcoreapp2.0\CursoCSharp.runtimeconfig.json 3 | c:\users\cod3r\source\repos\CursoCSharp\CursoCSharp\bin\Debug\netcoreapp2.0\CursoCSharp.runtimeconfig.dev.json 4 | c:\users\cod3r\source\repos\CursoCSharp\CursoCSharp\bin\Debug\netcoreapp2.0\CursoCSharp.dll 5 | c:\users\cod3r\source\repos\CursoCSharp\CursoCSharp\bin\Debug\netcoreapp2.0\CursoCSharp.pdb 6 | c:\users\cod3r\source\repos\CursoCSharp\CursoCSharp\obj\Debug\netcoreapp2.0\CursoCSharp.csprojAssemblyReference.cache 7 | c:\users\cod3r\source\repos\CursoCSharp\CursoCSharp\obj\Debug\netcoreapp2.0\CursoCSharp.csproj.CoreCompileInputs.cache 8 | c:\users\cod3r\source\repos\CursoCSharp\CursoCSharp\obj\Debug\netcoreapp2.0\CursoCSharp.AssemblyInfoInputs.cache 9 | c:\users\cod3r\source\repos\CursoCSharp\CursoCSharp\obj\Debug\netcoreapp2.0\CursoCSharp.AssemblyInfo.cs 10 | c:\users\cod3r\source\repos\CursoCSharp\CursoCSharp\obj\Debug\netcoreapp2.0\CursoCSharp.dll 11 | c:\users\cod3r\source\repos\CursoCSharp\CursoCSharp\obj\Debug\netcoreapp2.0\CursoCSharp.pdb 12 | C:\Users\Cod3r\source\repos\CursoCSharp\CursoCSharp\bin\Debug\netcoreapp2.0\Encapsulamento.dll 13 | C:\Users\Cod3r\source\repos\CursoCSharp\CursoCSharp\bin\Debug\netcoreapp2.0\Encapsulamento.pdb 14 | C:\Users\Cod3r\source\repos\CursoCSharp\CursoCSharp\obj\Debug\netcoreapp2.0\CursoCSharp.csproj.CopyComplete 15 | -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/obj/Debug/netcoreapp2.0/CursoCSharp.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cod3rcursos/curso-c-sharp/464fc7fcce26afcf46da1295e099c9087e1b9c2c/CursoCSharp/CursoCSharp/obj/Debug/netcoreapp2.0/CursoCSharp.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/obj/Debug/netcoreapp2.0/CursoCSharp.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cod3rcursos/curso-c-sharp/464fc7fcce26afcf46da1295e099c9087e1b9c2c/CursoCSharp/CursoCSharp/obj/Debug/netcoreapp2.0/CursoCSharp.dll -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/obj/Debug/netcoreapp2.0/CursoCSharp.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cod3rcursos/curso-c-sharp/464fc7fcce26afcf46da1295e099c9087e1b9c2c/CursoCSharp/CursoCSharp/obj/Debug/netcoreapp2.0/CursoCSharp.pdb -------------------------------------------------------------------------------- /CursoCSharp/CursoCSharp/obj/project.assets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 3, 3 | "targets": { 4 | ".NETCoreApp,Version=v2.0": { 5 | "Microsoft.NETCore.App/2.0.0": { 6 | "type": "package", 7 | "dependencies": { 8 | "Microsoft.NETCore.DotNetHostPolicy": "2.0.0", 9 | "Microsoft.NETCore.Platforms": "2.0.0", 10 | "NETStandard.Library": "2.0.0" 11 | }, 12 | "compile": { 13 | "ref/netcoreapp2.0/Microsoft.CSharp.dll": {}, 14 | "ref/netcoreapp2.0/Microsoft.VisualBasic.dll": {}, 15 | "ref/netcoreapp2.0/Microsoft.Win32.Primitives.dll": {}, 16 | "ref/netcoreapp2.0/System.AppContext.dll": {}, 17 | "ref/netcoreapp2.0/System.Buffers.dll": {}, 18 | "ref/netcoreapp2.0/System.Collections.Concurrent.dll": {}, 19 | "ref/netcoreapp2.0/System.Collections.Immutable.dll": {}, 20 | "ref/netcoreapp2.0/System.Collections.NonGeneric.dll": {}, 21 | "ref/netcoreapp2.0/System.Collections.Specialized.dll": {}, 22 | "ref/netcoreapp2.0/System.Collections.dll": {}, 23 | "ref/netcoreapp2.0/System.ComponentModel.Annotations.dll": {}, 24 | "ref/netcoreapp2.0/System.ComponentModel.Composition.dll": {}, 25 | "ref/netcoreapp2.0/System.ComponentModel.DataAnnotations.dll": {}, 26 | "ref/netcoreapp2.0/System.ComponentModel.EventBasedAsync.dll": {}, 27 | "ref/netcoreapp2.0/System.ComponentModel.Primitives.dll": {}, 28 | "ref/netcoreapp2.0/System.ComponentModel.TypeConverter.dll": {}, 29 | "ref/netcoreapp2.0/System.ComponentModel.dll": {}, 30 | "ref/netcoreapp2.0/System.Configuration.dll": {}, 31 | "ref/netcoreapp2.0/System.Console.dll": {}, 32 | "ref/netcoreapp2.0/System.Core.dll": {}, 33 | "ref/netcoreapp2.0/System.Data.Common.dll": {}, 34 | "ref/netcoreapp2.0/System.Data.dll": {}, 35 | "ref/netcoreapp2.0/System.Diagnostics.Contracts.dll": {}, 36 | "ref/netcoreapp2.0/System.Diagnostics.Debug.dll": {}, 37 | "ref/netcoreapp2.0/System.Diagnostics.DiagnosticSource.dll": {}, 38 | "ref/netcoreapp2.0/System.Diagnostics.FileVersionInfo.dll": {}, 39 | "ref/netcoreapp2.0/System.Diagnostics.Process.dll": {}, 40 | "ref/netcoreapp2.0/System.Diagnostics.StackTrace.dll": {}, 41 | "ref/netcoreapp2.0/System.Diagnostics.TextWriterTraceListener.dll": {}, 42 | "ref/netcoreapp2.0/System.Diagnostics.Tools.dll": {}, 43 | "ref/netcoreapp2.0/System.Diagnostics.TraceSource.dll": {}, 44 | "ref/netcoreapp2.0/System.Diagnostics.Tracing.dll": {}, 45 | "ref/netcoreapp2.0/System.Drawing.Primitives.dll": {}, 46 | "ref/netcoreapp2.0/System.Drawing.dll": {}, 47 | "ref/netcoreapp2.0/System.Dynamic.Runtime.dll": {}, 48 | "ref/netcoreapp2.0/System.Globalization.Calendars.dll": {}, 49 | "ref/netcoreapp2.0/System.Globalization.Extensions.dll": {}, 50 | "ref/netcoreapp2.0/System.Globalization.dll": {}, 51 | "ref/netcoreapp2.0/System.IO.Compression.FileSystem.dll": {}, 52 | "ref/netcoreapp2.0/System.IO.Compression.ZipFile.dll": {}, 53 | "ref/netcoreapp2.0/System.IO.Compression.dll": {}, 54 | "ref/netcoreapp2.0/System.IO.FileSystem.DriveInfo.dll": {}, 55 | "ref/netcoreapp2.0/System.IO.FileSystem.Primitives.dll": {}, 56 | "ref/netcoreapp2.0/System.IO.FileSystem.Watcher.dll": {}, 57 | "ref/netcoreapp2.0/System.IO.FileSystem.dll": {}, 58 | "ref/netcoreapp2.0/System.IO.IsolatedStorage.dll": {}, 59 | "ref/netcoreapp2.0/System.IO.MemoryMappedFiles.dll": {}, 60 | "ref/netcoreapp2.0/System.IO.Pipes.dll": {}, 61 | "ref/netcoreapp2.0/System.IO.UnmanagedMemoryStream.dll": {}, 62 | "ref/netcoreapp2.0/System.IO.dll": {}, 63 | "ref/netcoreapp2.0/System.Linq.Expressions.dll": {}, 64 | "ref/netcoreapp2.0/System.Linq.Parallel.dll": {}, 65 | "ref/netcoreapp2.0/System.Linq.Queryable.dll": {}, 66 | "ref/netcoreapp2.0/System.Linq.dll": {}, 67 | "ref/netcoreapp2.0/System.Net.Http.dll": {}, 68 | "ref/netcoreapp2.0/System.Net.HttpListener.dll": {}, 69 | "ref/netcoreapp2.0/System.Net.Mail.dll": {}, 70 | "ref/netcoreapp2.0/System.Net.NameResolution.dll": {}, 71 | "ref/netcoreapp2.0/System.Net.NetworkInformation.dll": {}, 72 | "ref/netcoreapp2.0/System.Net.Ping.dll": {}, 73 | "ref/netcoreapp2.0/System.Net.Primitives.dll": {}, 74 | "ref/netcoreapp2.0/System.Net.Requests.dll": {}, 75 | "ref/netcoreapp2.0/System.Net.Security.dll": {}, 76 | "ref/netcoreapp2.0/System.Net.ServicePoint.dll": {}, 77 | "ref/netcoreapp2.0/System.Net.Sockets.dll": {}, 78 | "ref/netcoreapp2.0/System.Net.WebClient.dll": {}, 79 | "ref/netcoreapp2.0/System.Net.WebHeaderCollection.dll": {}, 80 | "ref/netcoreapp2.0/System.Net.WebProxy.dll": {}, 81 | "ref/netcoreapp2.0/System.Net.WebSockets.Client.dll": {}, 82 | "ref/netcoreapp2.0/System.Net.WebSockets.dll": {}, 83 | "ref/netcoreapp2.0/System.Net.dll": {}, 84 | "ref/netcoreapp2.0/System.Numerics.Vectors.dll": {}, 85 | "ref/netcoreapp2.0/System.Numerics.dll": {}, 86 | "ref/netcoreapp2.0/System.ObjectModel.dll": {}, 87 | "ref/netcoreapp2.0/System.Reflection.DispatchProxy.dll": {}, 88 | "ref/netcoreapp2.0/System.Reflection.Emit.ILGeneration.dll": {}, 89 | "ref/netcoreapp2.0/System.Reflection.Emit.Lightweight.dll": {}, 90 | "ref/netcoreapp2.0/System.Reflection.Emit.dll": {}, 91 | "ref/netcoreapp2.0/System.Reflection.Extensions.dll": {}, 92 | "ref/netcoreapp2.0/System.Reflection.Metadata.dll": {}, 93 | "ref/netcoreapp2.0/System.Reflection.Primitives.dll": {}, 94 | "ref/netcoreapp2.0/System.Reflection.TypeExtensions.dll": {}, 95 | "ref/netcoreapp2.0/System.Reflection.dll": {}, 96 | "ref/netcoreapp2.0/System.Resources.Reader.dll": {}, 97 | "ref/netcoreapp2.0/System.Resources.ResourceManager.dll": {}, 98 | "ref/netcoreapp2.0/System.Resources.Writer.dll": {}, 99 | "ref/netcoreapp2.0/System.Runtime.CompilerServices.VisualC.dll": {}, 100 | "ref/netcoreapp2.0/System.Runtime.Extensions.dll": {}, 101 | "ref/netcoreapp2.0/System.Runtime.Handles.dll": {}, 102 | "ref/netcoreapp2.0/System.Runtime.InteropServices.RuntimeInformation.dll": {}, 103 | "ref/netcoreapp2.0/System.Runtime.InteropServices.WindowsRuntime.dll": {}, 104 | "ref/netcoreapp2.0/System.Runtime.InteropServices.dll": {}, 105 | "ref/netcoreapp2.0/System.Runtime.Loader.dll": {}, 106 | "ref/netcoreapp2.0/System.Runtime.Numerics.dll": {}, 107 | "ref/netcoreapp2.0/System.Runtime.Serialization.Formatters.dll": {}, 108 | "ref/netcoreapp2.0/System.Runtime.Serialization.Json.dll": {}, 109 | "ref/netcoreapp2.0/System.Runtime.Serialization.Primitives.dll": {}, 110 | "ref/netcoreapp2.0/System.Runtime.Serialization.Xml.dll": {}, 111 | "ref/netcoreapp2.0/System.Runtime.Serialization.dll": {}, 112 | "ref/netcoreapp2.0/System.Runtime.dll": {}, 113 | "ref/netcoreapp2.0/System.Security.Claims.dll": {}, 114 | "ref/netcoreapp2.0/System.Security.Cryptography.Algorithms.dll": {}, 115 | "ref/netcoreapp2.0/System.Security.Cryptography.Csp.dll": {}, 116 | "ref/netcoreapp2.0/System.Security.Cryptography.Encoding.dll": {}, 117 | "ref/netcoreapp2.0/System.Security.Cryptography.Primitives.dll": {}, 118 | "ref/netcoreapp2.0/System.Security.Cryptography.X509Certificates.dll": {}, 119 | "ref/netcoreapp2.0/System.Security.Principal.dll": {}, 120 | "ref/netcoreapp2.0/System.Security.SecureString.dll": {}, 121 | "ref/netcoreapp2.0/System.Security.dll": {}, 122 | "ref/netcoreapp2.0/System.ServiceModel.Web.dll": {}, 123 | "ref/netcoreapp2.0/System.ServiceProcess.dll": {}, 124 | "ref/netcoreapp2.0/System.Text.Encoding.Extensions.dll": {}, 125 | "ref/netcoreapp2.0/System.Text.Encoding.dll": {}, 126 | "ref/netcoreapp2.0/System.Text.RegularExpressions.dll": {}, 127 | "ref/netcoreapp2.0/System.Threading.Overlapped.dll": {}, 128 | "ref/netcoreapp2.0/System.Threading.Tasks.Dataflow.dll": {}, 129 | "ref/netcoreapp2.0/System.Threading.Tasks.Extensions.dll": {}, 130 | "ref/netcoreapp2.0/System.Threading.Tasks.Parallel.dll": {}, 131 | "ref/netcoreapp2.0/System.Threading.Tasks.dll": {}, 132 | "ref/netcoreapp2.0/System.Threading.Thread.dll": {}, 133 | "ref/netcoreapp2.0/System.Threading.ThreadPool.dll": {}, 134 | "ref/netcoreapp2.0/System.Threading.Timer.dll": {}, 135 | "ref/netcoreapp2.0/System.Threading.dll": {}, 136 | "ref/netcoreapp2.0/System.Transactions.Local.dll": {}, 137 | "ref/netcoreapp2.0/System.Transactions.dll": {}, 138 | "ref/netcoreapp2.0/System.ValueTuple.dll": {}, 139 | "ref/netcoreapp2.0/System.Web.HttpUtility.dll": {}, 140 | "ref/netcoreapp2.0/System.Web.dll": {}, 141 | "ref/netcoreapp2.0/System.Windows.dll": {}, 142 | "ref/netcoreapp2.0/System.Xml.Linq.dll": {}, 143 | "ref/netcoreapp2.0/System.Xml.ReaderWriter.dll": {}, 144 | "ref/netcoreapp2.0/System.Xml.Serialization.dll": {}, 145 | "ref/netcoreapp2.0/System.Xml.XDocument.dll": {}, 146 | "ref/netcoreapp2.0/System.Xml.XPath.XDocument.dll": {}, 147 | "ref/netcoreapp2.0/System.Xml.XPath.dll": {}, 148 | "ref/netcoreapp2.0/System.Xml.XmlDocument.dll": {}, 149 | "ref/netcoreapp2.0/System.Xml.XmlSerializer.dll": {}, 150 | "ref/netcoreapp2.0/System.Xml.dll": {}, 151 | "ref/netcoreapp2.0/System.dll": {}, 152 | "ref/netcoreapp2.0/WindowsBase.dll": {}, 153 | "ref/netcoreapp2.0/mscorlib.dll": {}, 154 | "ref/netcoreapp2.0/netstandard.dll": {} 155 | }, 156 | "build": { 157 | "build/netcoreapp2.0/Microsoft.NETCore.App.props": {}, 158 | "build/netcoreapp2.0/Microsoft.NETCore.App.targets": {} 159 | } 160 | }, 161 | "Microsoft.NETCore.DotNetAppHost/2.0.0": { 162 | "type": "package" 163 | }, 164 | "Microsoft.NETCore.DotNetHostPolicy/2.0.0": { 165 | "type": "package", 166 | "dependencies": { 167 | "Microsoft.NETCore.DotNetHostResolver": "2.0.0" 168 | } 169 | }, 170 | "Microsoft.NETCore.DotNetHostResolver/2.0.0": { 171 | "type": "package", 172 | "dependencies": { 173 | "Microsoft.NETCore.DotNetAppHost": "2.0.0" 174 | } 175 | }, 176 | "Microsoft.NETCore.Platforms/2.0.0": { 177 | "type": "package", 178 | "compile": { 179 | "lib/netstandard1.0/_._": {} 180 | }, 181 | "runtime": { 182 | "lib/netstandard1.0/_._": {} 183 | } 184 | }, 185 | "NETStandard.Library/2.0.0": { 186 | "type": "package", 187 | "dependencies": { 188 | "Microsoft.NETCore.Platforms": "1.1.0" 189 | }, 190 | "compile": { 191 | "lib/netstandard1.0/_._": {} 192 | }, 193 | "runtime": { 194 | "lib/netstandard1.0/_._": {} 195 | }, 196 | "build": { 197 | "build/netstandard2.0/NETStandard.Library.targets": {} 198 | } 199 | }, 200 | "Encapsulamento/1.0.0": { 201 | "type": "project", 202 | "framework": ".NETCoreApp,Version=v2.0", 203 | "compile": { 204 | "bin/placeholder/Encapsulamento.dll": {} 205 | }, 206 | "runtime": { 207 | "bin/placeholder/Encapsulamento.dll": {} 208 | } 209 | } 210 | } 211 | }, 212 | "libraries": { 213 | "Microsoft.NETCore.App/2.0.0": { 214 | "sha512": "/mzXF+UtZef+VpzzN88EpvFq5U6z4rj54ZMq/J968H6pcvyLOmcupmTRpJ3CJm8ILoCGh9WI7qpDdiKtuzswrQ==", 215 | "type": "package", 216 | "path": "microsoft.netcore.app/2.0.0", 217 | "files": [ 218 | "LICENSE.TXT", 219 | "Microsoft.NETCore.App.versions.txt", 220 | "THIRD-PARTY-NOTICES.TXT", 221 | "build/netcoreapp2.0/Microsoft.NETCore.App.PlatformManifest.txt", 222 | "build/netcoreapp2.0/Microsoft.NETCore.App.props", 223 | "build/netcoreapp2.0/Microsoft.NETCore.App.targets", 224 | "microsoft.netcore.app.2.0.0.nupkg.sha512", 225 | "microsoft.netcore.app.nuspec", 226 | "ref/netcoreapp/_._", 227 | "ref/netcoreapp2.0/Microsoft.CSharp.dll", 228 | "ref/netcoreapp2.0/Microsoft.CSharp.xml", 229 | "ref/netcoreapp2.0/Microsoft.VisualBasic.dll", 230 | "ref/netcoreapp2.0/Microsoft.VisualBasic.xml", 231 | "ref/netcoreapp2.0/Microsoft.Win32.Primitives.dll", 232 | "ref/netcoreapp2.0/Microsoft.Win32.Primitives.xml", 233 | "ref/netcoreapp2.0/System.AppContext.dll", 234 | "ref/netcoreapp2.0/System.AppContext.xml", 235 | "ref/netcoreapp2.0/System.Buffers.dll", 236 | "ref/netcoreapp2.0/System.Buffers.xml", 237 | "ref/netcoreapp2.0/System.Collections.Concurrent.dll", 238 | "ref/netcoreapp2.0/System.Collections.Concurrent.xml", 239 | "ref/netcoreapp2.0/System.Collections.Immutable.dll", 240 | "ref/netcoreapp2.0/System.Collections.Immutable.xml", 241 | "ref/netcoreapp2.0/System.Collections.NonGeneric.dll", 242 | "ref/netcoreapp2.0/System.Collections.NonGeneric.xml", 243 | "ref/netcoreapp2.0/System.Collections.Specialized.dll", 244 | "ref/netcoreapp2.0/System.Collections.Specialized.xml", 245 | "ref/netcoreapp2.0/System.Collections.dll", 246 | "ref/netcoreapp2.0/System.Collections.xml", 247 | "ref/netcoreapp2.0/System.ComponentModel.Annotations.dll", 248 | "ref/netcoreapp2.0/System.ComponentModel.Annotations.xml", 249 | "ref/netcoreapp2.0/System.ComponentModel.Composition.dll", 250 | "ref/netcoreapp2.0/System.ComponentModel.DataAnnotations.dll", 251 | "ref/netcoreapp2.0/System.ComponentModel.EventBasedAsync.dll", 252 | "ref/netcoreapp2.0/System.ComponentModel.EventBasedAsync.xml", 253 | "ref/netcoreapp2.0/System.ComponentModel.Primitives.dll", 254 | "ref/netcoreapp2.0/System.ComponentModel.Primitives.xml", 255 | "ref/netcoreapp2.0/System.ComponentModel.TypeConverter.dll", 256 | "ref/netcoreapp2.0/System.ComponentModel.TypeConverter.xml", 257 | "ref/netcoreapp2.0/System.ComponentModel.dll", 258 | "ref/netcoreapp2.0/System.ComponentModel.xml", 259 | "ref/netcoreapp2.0/System.Configuration.dll", 260 | "ref/netcoreapp2.0/System.Console.dll", 261 | "ref/netcoreapp2.0/System.Console.xml", 262 | "ref/netcoreapp2.0/System.Core.dll", 263 | "ref/netcoreapp2.0/System.Data.Common.dll", 264 | "ref/netcoreapp2.0/System.Data.Common.xml", 265 | "ref/netcoreapp2.0/System.Data.dll", 266 | "ref/netcoreapp2.0/System.Diagnostics.Contracts.dll", 267 | "ref/netcoreapp2.0/System.Diagnostics.Contracts.xml", 268 | "ref/netcoreapp2.0/System.Diagnostics.Debug.dll", 269 | "ref/netcoreapp2.0/System.Diagnostics.Debug.xml", 270 | "ref/netcoreapp2.0/System.Diagnostics.DiagnosticSource.dll", 271 | "ref/netcoreapp2.0/System.Diagnostics.DiagnosticSource.xml", 272 | "ref/netcoreapp2.0/System.Diagnostics.FileVersionInfo.dll", 273 | "ref/netcoreapp2.0/System.Diagnostics.FileVersionInfo.xml", 274 | "ref/netcoreapp2.0/System.Diagnostics.Process.dll", 275 | "ref/netcoreapp2.0/System.Diagnostics.Process.xml", 276 | "ref/netcoreapp2.0/System.Diagnostics.StackTrace.dll", 277 | "ref/netcoreapp2.0/System.Diagnostics.StackTrace.xml", 278 | "ref/netcoreapp2.0/System.Diagnostics.TextWriterTraceListener.dll", 279 | "ref/netcoreapp2.0/System.Diagnostics.TextWriterTraceListener.xml", 280 | "ref/netcoreapp2.0/System.Diagnostics.Tools.dll", 281 | "ref/netcoreapp2.0/System.Diagnostics.Tools.xml", 282 | "ref/netcoreapp2.0/System.Diagnostics.TraceSource.dll", 283 | "ref/netcoreapp2.0/System.Diagnostics.TraceSource.xml", 284 | "ref/netcoreapp2.0/System.Diagnostics.Tracing.dll", 285 | "ref/netcoreapp2.0/System.Diagnostics.Tracing.xml", 286 | "ref/netcoreapp2.0/System.Drawing.Primitives.dll", 287 | "ref/netcoreapp2.0/System.Drawing.Primitives.xml", 288 | "ref/netcoreapp2.0/System.Drawing.dll", 289 | "ref/netcoreapp2.0/System.Dynamic.Runtime.dll", 290 | "ref/netcoreapp2.0/System.Dynamic.Runtime.xml", 291 | "ref/netcoreapp2.0/System.Globalization.Calendars.dll", 292 | "ref/netcoreapp2.0/System.Globalization.Calendars.xml", 293 | "ref/netcoreapp2.0/System.Globalization.Extensions.dll", 294 | "ref/netcoreapp2.0/System.Globalization.Extensions.xml", 295 | "ref/netcoreapp2.0/System.Globalization.dll", 296 | "ref/netcoreapp2.0/System.Globalization.xml", 297 | "ref/netcoreapp2.0/System.IO.Compression.FileSystem.dll", 298 | "ref/netcoreapp2.0/System.IO.Compression.ZipFile.dll", 299 | "ref/netcoreapp2.0/System.IO.Compression.ZipFile.xml", 300 | "ref/netcoreapp2.0/System.IO.Compression.dll", 301 | "ref/netcoreapp2.0/System.IO.Compression.xml", 302 | "ref/netcoreapp2.0/System.IO.FileSystem.DriveInfo.dll", 303 | "ref/netcoreapp2.0/System.IO.FileSystem.DriveInfo.xml", 304 | "ref/netcoreapp2.0/System.IO.FileSystem.Primitives.dll", 305 | "ref/netcoreapp2.0/System.IO.FileSystem.Primitives.xml", 306 | "ref/netcoreapp2.0/System.IO.FileSystem.Watcher.dll", 307 | "ref/netcoreapp2.0/System.IO.FileSystem.Watcher.xml", 308 | "ref/netcoreapp2.0/System.IO.FileSystem.dll", 309 | "ref/netcoreapp2.0/System.IO.FileSystem.xml", 310 | "ref/netcoreapp2.0/System.IO.IsolatedStorage.dll", 311 | "ref/netcoreapp2.0/System.IO.IsolatedStorage.xml", 312 | "ref/netcoreapp2.0/System.IO.MemoryMappedFiles.dll", 313 | "ref/netcoreapp2.0/System.IO.MemoryMappedFiles.xml", 314 | "ref/netcoreapp2.0/System.IO.Pipes.dll", 315 | "ref/netcoreapp2.0/System.IO.Pipes.xml", 316 | "ref/netcoreapp2.0/System.IO.UnmanagedMemoryStream.dll", 317 | "ref/netcoreapp2.0/System.IO.UnmanagedMemoryStream.xml", 318 | "ref/netcoreapp2.0/System.IO.dll", 319 | "ref/netcoreapp2.0/System.IO.xml", 320 | "ref/netcoreapp2.0/System.Linq.Expressions.dll", 321 | "ref/netcoreapp2.0/System.Linq.Expressions.xml", 322 | "ref/netcoreapp2.0/System.Linq.Parallel.dll", 323 | "ref/netcoreapp2.0/System.Linq.Parallel.xml", 324 | "ref/netcoreapp2.0/System.Linq.Queryable.dll", 325 | "ref/netcoreapp2.0/System.Linq.Queryable.xml", 326 | "ref/netcoreapp2.0/System.Linq.dll", 327 | "ref/netcoreapp2.0/System.Linq.xml", 328 | "ref/netcoreapp2.0/System.Net.Http.dll", 329 | "ref/netcoreapp2.0/System.Net.Http.xml", 330 | "ref/netcoreapp2.0/System.Net.HttpListener.dll", 331 | "ref/netcoreapp2.0/System.Net.HttpListener.xml", 332 | "ref/netcoreapp2.0/System.Net.Mail.dll", 333 | "ref/netcoreapp2.0/System.Net.Mail.xml", 334 | "ref/netcoreapp2.0/System.Net.NameResolution.dll", 335 | "ref/netcoreapp2.0/System.Net.NameResolution.xml", 336 | "ref/netcoreapp2.0/System.Net.NetworkInformation.dll", 337 | "ref/netcoreapp2.0/System.Net.NetworkInformation.xml", 338 | "ref/netcoreapp2.0/System.Net.Ping.dll", 339 | "ref/netcoreapp2.0/System.Net.Ping.xml", 340 | "ref/netcoreapp2.0/System.Net.Primitives.dll", 341 | "ref/netcoreapp2.0/System.Net.Primitives.xml", 342 | "ref/netcoreapp2.0/System.Net.Requests.dll", 343 | "ref/netcoreapp2.0/System.Net.Requests.xml", 344 | "ref/netcoreapp2.0/System.Net.Security.dll", 345 | "ref/netcoreapp2.0/System.Net.Security.xml", 346 | "ref/netcoreapp2.0/System.Net.ServicePoint.dll", 347 | "ref/netcoreapp2.0/System.Net.ServicePoint.xml", 348 | "ref/netcoreapp2.0/System.Net.Sockets.dll", 349 | "ref/netcoreapp2.0/System.Net.Sockets.xml", 350 | "ref/netcoreapp2.0/System.Net.WebClient.dll", 351 | "ref/netcoreapp2.0/System.Net.WebClient.xml", 352 | "ref/netcoreapp2.0/System.Net.WebHeaderCollection.dll", 353 | "ref/netcoreapp2.0/System.Net.WebHeaderCollection.xml", 354 | "ref/netcoreapp2.0/System.Net.WebProxy.dll", 355 | "ref/netcoreapp2.0/System.Net.WebProxy.xml", 356 | "ref/netcoreapp2.0/System.Net.WebSockets.Client.dll", 357 | "ref/netcoreapp2.0/System.Net.WebSockets.Client.xml", 358 | "ref/netcoreapp2.0/System.Net.WebSockets.dll", 359 | "ref/netcoreapp2.0/System.Net.WebSockets.xml", 360 | "ref/netcoreapp2.0/System.Net.dll", 361 | "ref/netcoreapp2.0/System.Numerics.Vectors.dll", 362 | "ref/netcoreapp2.0/System.Numerics.Vectors.xml", 363 | "ref/netcoreapp2.0/System.Numerics.dll", 364 | "ref/netcoreapp2.0/System.ObjectModel.dll", 365 | "ref/netcoreapp2.0/System.ObjectModel.xml", 366 | "ref/netcoreapp2.0/System.Reflection.DispatchProxy.dll", 367 | "ref/netcoreapp2.0/System.Reflection.DispatchProxy.xml", 368 | "ref/netcoreapp2.0/System.Reflection.Emit.ILGeneration.dll", 369 | "ref/netcoreapp2.0/System.Reflection.Emit.ILGeneration.xml", 370 | "ref/netcoreapp2.0/System.Reflection.Emit.Lightweight.dll", 371 | "ref/netcoreapp2.0/System.Reflection.Emit.Lightweight.xml", 372 | "ref/netcoreapp2.0/System.Reflection.Emit.dll", 373 | "ref/netcoreapp2.0/System.Reflection.Emit.xml", 374 | "ref/netcoreapp2.0/System.Reflection.Extensions.dll", 375 | "ref/netcoreapp2.0/System.Reflection.Extensions.xml", 376 | "ref/netcoreapp2.0/System.Reflection.Metadata.dll", 377 | "ref/netcoreapp2.0/System.Reflection.Metadata.xml", 378 | "ref/netcoreapp2.0/System.Reflection.Primitives.dll", 379 | "ref/netcoreapp2.0/System.Reflection.Primitives.xml", 380 | "ref/netcoreapp2.0/System.Reflection.TypeExtensions.dll", 381 | "ref/netcoreapp2.0/System.Reflection.TypeExtensions.xml", 382 | "ref/netcoreapp2.0/System.Reflection.dll", 383 | "ref/netcoreapp2.0/System.Reflection.xml", 384 | "ref/netcoreapp2.0/System.Resources.Reader.dll", 385 | "ref/netcoreapp2.0/System.Resources.Reader.xml", 386 | "ref/netcoreapp2.0/System.Resources.ResourceManager.dll", 387 | "ref/netcoreapp2.0/System.Resources.ResourceManager.xml", 388 | "ref/netcoreapp2.0/System.Resources.Writer.dll", 389 | "ref/netcoreapp2.0/System.Resources.Writer.xml", 390 | "ref/netcoreapp2.0/System.Runtime.CompilerServices.VisualC.dll", 391 | "ref/netcoreapp2.0/System.Runtime.CompilerServices.VisualC.xml", 392 | "ref/netcoreapp2.0/System.Runtime.Extensions.dll", 393 | "ref/netcoreapp2.0/System.Runtime.Extensions.xml", 394 | "ref/netcoreapp2.0/System.Runtime.Handles.dll", 395 | "ref/netcoreapp2.0/System.Runtime.Handles.xml", 396 | "ref/netcoreapp2.0/System.Runtime.InteropServices.RuntimeInformation.dll", 397 | "ref/netcoreapp2.0/System.Runtime.InteropServices.RuntimeInformation.xml", 398 | "ref/netcoreapp2.0/System.Runtime.InteropServices.WindowsRuntime.dll", 399 | "ref/netcoreapp2.0/System.Runtime.InteropServices.WindowsRuntime.xml", 400 | "ref/netcoreapp2.0/System.Runtime.InteropServices.dll", 401 | "ref/netcoreapp2.0/System.Runtime.InteropServices.xml", 402 | "ref/netcoreapp2.0/System.Runtime.Loader.dll", 403 | "ref/netcoreapp2.0/System.Runtime.Loader.xml", 404 | "ref/netcoreapp2.0/System.Runtime.Numerics.dll", 405 | "ref/netcoreapp2.0/System.Runtime.Numerics.xml", 406 | "ref/netcoreapp2.0/System.Runtime.Serialization.Formatters.dll", 407 | "ref/netcoreapp2.0/System.Runtime.Serialization.Formatters.xml", 408 | "ref/netcoreapp2.0/System.Runtime.Serialization.Json.dll", 409 | "ref/netcoreapp2.0/System.Runtime.Serialization.Json.xml", 410 | "ref/netcoreapp2.0/System.Runtime.Serialization.Primitives.dll", 411 | "ref/netcoreapp2.0/System.Runtime.Serialization.Primitives.xml", 412 | "ref/netcoreapp2.0/System.Runtime.Serialization.Xml.dll", 413 | "ref/netcoreapp2.0/System.Runtime.Serialization.Xml.xml", 414 | "ref/netcoreapp2.0/System.Runtime.Serialization.dll", 415 | "ref/netcoreapp2.0/System.Runtime.dll", 416 | "ref/netcoreapp2.0/System.Runtime.xml", 417 | "ref/netcoreapp2.0/System.Security.Claims.dll", 418 | "ref/netcoreapp2.0/System.Security.Claims.xml", 419 | "ref/netcoreapp2.0/System.Security.Cryptography.Algorithms.dll", 420 | "ref/netcoreapp2.0/System.Security.Cryptography.Algorithms.xml", 421 | "ref/netcoreapp2.0/System.Security.Cryptography.Csp.dll", 422 | "ref/netcoreapp2.0/System.Security.Cryptography.Csp.xml", 423 | "ref/netcoreapp2.0/System.Security.Cryptography.Encoding.dll", 424 | "ref/netcoreapp2.0/System.Security.Cryptography.Encoding.xml", 425 | "ref/netcoreapp2.0/System.Security.Cryptography.Primitives.dll", 426 | "ref/netcoreapp2.0/System.Security.Cryptography.Primitives.xml", 427 | "ref/netcoreapp2.0/System.Security.Cryptography.X509Certificates.dll", 428 | "ref/netcoreapp2.0/System.Security.Cryptography.X509Certificates.xml", 429 | "ref/netcoreapp2.0/System.Security.Principal.dll", 430 | "ref/netcoreapp2.0/System.Security.Principal.xml", 431 | "ref/netcoreapp2.0/System.Security.SecureString.dll", 432 | "ref/netcoreapp2.0/System.Security.SecureString.xml", 433 | "ref/netcoreapp2.0/System.Security.dll", 434 | "ref/netcoreapp2.0/System.ServiceModel.Web.dll", 435 | "ref/netcoreapp2.0/System.ServiceProcess.dll", 436 | "ref/netcoreapp2.0/System.Text.Encoding.Extensions.dll", 437 | "ref/netcoreapp2.0/System.Text.Encoding.Extensions.xml", 438 | "ref/netcoreapp2.0/System.Text.Encoding.dll", 439 | "ref/netcoreapp2.0/System.Text.Encoding.xml", 440 | "ref/netcoreapp2.0/System.Text.RegularExpressions.dll", 441 | "ref/netcoreapp2.0/System.Text.RegularExpressions.xml", 442 | "ref/netcoreapp2.0/System.Threading.Overlapped.dll", 443 | "ref/netcoreapp2.0/System.Threading.Overlapped.xml", 444 | "ref/netcoreapp2.0/System.Threading.Tasks.Dataflow.dll", 445 | "ref/netcoreapp2.0/System.Threading.Tasks.Dataflow.xml", 446 | "ref/netcoreapp2.0/System.Threading.Tasks.Extensions.dll", 447 | "ref/netcoreapp2.0/System.Threading.Tasks.Extensions.xml", 448 | "ref/netcoreapp2.0/System.Threading.Tasks.Parallel.dll", 449 | "ref/netcoreapp2.0/System.Threading.Tasks.Parallel.xml", 450 | "ref/netcoreapp2.0/System.Threading.Tasks.dll", 451 | "ref/netcoreapp2.0/System.Threading.Tasks.xml", 452 | "ref/netcoreapp2.0/System.Threading.Thread.dll", 453 | "ref/netcoreapp2.0/System.Threading.Thread.xml", 454 | "ref/netcoreapp2.0/System.Threading.ThreadPool.dll", 455 | "ref/netcoreapp2.0/System.Threading.ThreadPool.xml", 456 | "ref/netcoreapp2.0/System.Threading.Timer.dll", 457 | "ref/netcoreapp2.0/System.Threading.Timer.xml", 458 | "ref/netcoreapp2.0/System.Threading.dll", 459 | "ref/netcoreapp2.0/System.Threading.xml", 460 | "ref/netcoreapp2.0/System.Transactions.Local.dll", 461 | "ref/netcoreapp2.0/System.Transactions.Local.xml", 462 | "ref/netcoreapp2.0/System.Transactions.dll", 463 | "ref/netcoreapp2.0/System.ValueTuple.dll", 464 | "ref/netcoreapp2.0/System.ValueTuple.xml", 465 | "ref/netcoreapp2.0/System.Web.HttpUtility.dll", 466 | "ref/netcoreapp2.0/System.Web.HttpUtility.xml", 467 | "ref/netcoreapp2.0/System.Web.dll", 468 | "ref/netcoreapp2.0/System.Windows.dll", 469 | "ref/netcoreapp2.0/System.Xml.Linq.dll", 470 | "ref/netcoreapp2.0/System.Xml.ReaderWriter.dll", 471 | "ref/netcoreapp2.0/System.Xml.ReaderWriter.xml", 472 | "ref/netcoreapp2.0/System.Xml.Serialization.dll", 473 | "ref/netcoreapp2.0/System.Xml.XDocument.dll", 474 | "ref/netcoreapp2.0/System.Xml.XDocument.xml", 475 | "ref/netcoreapp2.0/System.Xml.XPath.XDocument.dll", 476 | "ref/netcoreapp2.0/System.Xml.XPath.XDocument.xml", 477 | "ref/netcoreapp2.0/System.Xml.XPath.dll", 478 | "ref/netcoreapp2.0/System.Xml.XPath.xml", 479 | "ref/netcoreapp2.0/System.Xml.XmlDocument.dll", 480 | "ref/netcoreapp2.0/System.Xml.XmlDocument.xml", 481 | "ref/netcoreapp2.0/System.Xml.XmlSerializer.dll", 482 | "ref/netcoreapp2.0/System.Xml.XmlSerializer.xml", 483 | "ref/netcoreapp2.0/System.Xml.dll", 484 | "ref/netcoreapp2.0/System.dll", 485 | "ref/netcoreapp2.0/WindowsBase.dll", 486 | "ref/netcoreapp2.0/mscorlib.dll", 487 | "ref/netcoreapp2.0/netstandard.dll", 488 | "runtime.json" 489 | ] 490 | }, 491 | "Microsoft.NETCore.DotNetAppHost/2.0.0": { 492 | "sha512": "L4GGkcI/Mxl8PKLRpFdGmLb5oI8sGIR05bDTGkzCoamAjdUl1Zhkov2swjEsZvKYT8kkdiz39LtwyGYuCJxm1A==", 493 | "type": "package", 494 | "path": "microsoft.netcore.dotnetapphost/2.0.0", 495 | "files": [ 496 | "LICENSE.TXT", 497 | "THIRD-PARTY-NOTICES.TXT", 498 | "microsoft.netcore.dotnetapphost.2.0.0.nupkg.sha512", 499 | "microsoft.netcore.dotnetapphost.nuspec", 500 | "runtime.json" 501 | ] 502 | }, 503 | "Microsoft.NETCore.DotNetHostPolicy/2.0.0": { 504 | "sha512": "rm7mMn0A93fwyAwVhbyOCcPuu2hZNL0A0dAur9sNG9pEkONPfCEQeF7m2mC8KpqZO0Ol6tpV5J0AF3HTXT3GXA==", 505 | "type": "package", 506 | "path": "microsoft.netcore.dotnethostpolicy/2.0.0", 507 | "files": [ 508 | "LICENSE.TXT", 509 | "THIRD-PARTY-NOTICES.TXT", 510 | "microsoft.netcore.dotnethostpolicy.2.0.0.nupkg.sha512", 511 | "microsoft.netcore.dotnethostpolicy.nuspec", 512 | "runtime.json" 513 | ] 514 | }, 515 | "Microsoft.NETCore.DotNetHostResolver/2.0.0": { 516 | "sha512": "uBbjpeSrwsaTCADZCzRk+3aBzNnMqkC4zftJWBsL+Zk+8u+W+/lMb2thM5Y4hiVrv1YQg9t6dKldXzOKkY+pQw==", 517 | "type": "package", 518 | "path": "microsoft.netcore.dotnethostresolver/2.0.0", 519 | "files": [ 520 | "LICENSE.TXT", 521 | "THIRD-PARTY-NOTICES.TXT", 522 | "microsoft.netcore.dotnethostresolver.2.0.0.nupkg.sha512", 523 | "microsoft.netcore.dotnethostresolver.nuspec", 524 | "runtime.json" 525 | ] 526 | }, 527 | "Microsoft.NETCore.Platforms/2.0.0": { 528 | "sha512": "VdLJOCXhZaEMY7Hm2GKiULmn7IEPFE4XC5LPSfBVCUIA8YLZVh846gtfBJalsPQF2PlzdD7ecX7DZEulJ402ZQ==", 529 | "type": "package", 530 | "path": "microsoft.netcore.platforms/2.0.0", 531 | "files": [ 532 | "LICENSE.TXT", 533 | "THIRD-PARTY-NOTICES.TXT", 534 | "lib/netstandard1.0/_._", 535 | "microsoft.netcore.platforms.2.0.0.nupkg.sha512", 536 | "microsoft.netcore.platforms.nuspec", 537 | "runtime.json", 538 | "useSharedDesignerContext.txt", 539 | "version.txt" 540 | ] 541 | }, 542 | "NETStandard.Library/2.0.0": { 543 | "sha512": "7jnbRU+L08FXKMxqUflxEXtVymWvNOrS8yHgu9s6EM8Anr6T/wIX4nZ08j/u3Asz+tCufp3YVwFSEvFTPYmBPA==", 544 | "type": "package", 545 | "path": "netstandard.library/2.0.0", 546 | "files": [ 547 | "LICENSE.TXT", 548 | "THIRD-PARTY-NOTICES.TXT", 549 | "build/NETStandard.Library.targets", 550 | "build/netstandard2.0/NETStandard.Library.targets", 551 | "build/netstandard2.0/ref/Microsoft.Win32.Primitives.dll", 552 | "build/netstandard2.0/ref/System.AppContext.dll", 553 | "build/netstandard2.0/ref/System.Collections.Concurrent.dll", 554 | "build/netstandard2.0/ref/System.Collections.NonGeneric.dll", 555 | "build/netstandard2.0/ref/System.Collections.Specialized.dll", 556 | "build/netstandard2.0/ref/System.Collections.dll", 557 | "build/netstandard2.0/ref/System.ComponentModel.Composition.dll", 558 | "build/netstandard2.0/ref/System.ComponentModel.EventBasedAsync.dll", 559 | "build/netstandard2.0/ref/System.ComponentModel.Primitives.dll", 560 | "build/netstandard2.0/ref/System.ComponentModel.TypeConverter.dll", 561 | "build/netstandard2.0/ref/System.ComponentModel.dll", 562 | "build/netstandard2.0/ref/System.Console.dll", 563 | "build/netstandard2.0/ref/System.Core.dll", 564 | "build/netstandard2.0/ref/System.Data.Common.dll", 565 | "build/netstandard2.0/ref/System.Data.dll", 566 | "build/netstandard2.0/ref/System.Diagnostics.Contracts.dll", 567 | "build/netstandard2.0/ref/System.Diagnostics.Debug.dll", 568 | "build/netstandard2.0/ref/System.Diagnostics.FileVersionInfo.dll", 569 | "build/netstandard2.0/ref/System.Diagnostics.Process.dll", 570 | "build/netstandard2.0/ref/System.Diagnostics.StackTrace.dll", 571 | "build/netstandard2.0/ref/System.Diagnostics.TextWriterTraceListener.dll", 572 | "build/netstandard2.0/ref/System.Diagnostics.Tools.dll", 573 | "build/netstandard2.0/ref/System.Diagnostics.TraceSource.dll", 574 | "build/netstandard2.0/ref/System.Diagnostics.Tracing.dll", 575 | "build/netstandard2.0/ref/System.Drawing.Primitives.dll", 576 | "build/netstandard2.0/ref/System.Drawing.dll", 577 | "build/netstandard2.0/ref/System.Dynamic.Runtime.dll", 578 | "build/netstandard2.0/ref/System.Globalization.Calendars.dll", 579 | "build/netstandard2.0/ref/System.Globalization.Extensions.dll", 580 | "build/netstandard2.0/ref/System.Globalization.dll", 581 | "build/netstandard2.0/ref/System.IO.Compression.FileSystem.dll", 582 | "build/netstandard2.0/ref/System.IO.Compression.ZipFile.dll", 583 | "build/netstandard2.0/ref/System.IO.Compression.dll", 584 | "build/netstandard2.0/ref/System.IO.FileSystem.DriveInfo.dll", 585 | "build/netstandard2.0/ref/System.IO.FileSystem.Primitives.dll", 586 | "build/netstandard2.0/ref/System.IO.FileSystem.Watcher.dll", 587 | "build/netstandard2.0/ref/System.IO.FileSystem.dll", 588 | "build/netstandard2.0/ref/System.IO.IsolatedStorage.dll", 589 | "build/netstandard2.0/ref/System.IO.MemoryMappedFiles.dll", 590 | "build/netstandard2.0/ref/System.IO.Pipes.dll", 591 | "build/netstandard2.0/ref/System.IO.UnmanagedMemoryStream.dll", 592 | "build/netstandard2.0/ref/System.IO.dll", 593 | "build/netstandard2.0/ref/System.Linq.Expressions.dll", 594 | "build/netstandard2.0/ref/System.Linq.Parallel.dll", 595 | "build/netstandard2.0/ref/System.Linq.Queryable.dll", 596 | "build/netstandard2.0/ref/System.Linq.dll", 597 | "build/netstandard2.0/ref/System.Net.Http.dll", 598 | "build/netstandard2.0/ref/System.Net.NameResolution.dll", 599 | "build/netstandard2.0/ref/System.Net.NetworkInformation.dll", 600 | "build/netstandard2.0/ref/System.Net.Ping.dll", 601 | "build/netstandard2.0/ref/System.Net.Primitives.dll", 602 | "build/netstandard2.0/ref/System.Net.Requests.dll", 603 | "build/netstandard2.0/ref/System.Net.Security.dll", 604 | "build/netstandard2.0/ref/System.Net.Sockets.dll", 605 | "build/netstandard2.0/ref/System.Net.WebHeaderCollection.dll", 606 | "build/netstandard2.0/ref/System.Net.WebSockets.Client.dll", 607 | "build/netstandard2.0/ref/System.Net.WebSockets.dll", 608 | "build/netstandard2.0/ref/System.Net.dll", 609 | "build/netstandard2.0/ref/System.Numerics.dll", 610 | "build/netstandard2.0/ref/System.ObjectModel.dll", 611 | "build/netstandard2.0/ref/System.Reflection.Extensions.dll", 612 | "build/netstandard2.0/ref/System.Reflection.Primitives.dll", 613 | "build/netstandard2.0/ref/System.Reflection.dll", 614 | "build/netstandard2.0/ref/System.Resources.Reader.dll", 615 | "build/netstandard2.0/ref/System.Resources.ResourceManager.dll", 616 | "build/netstandard2.0/ref/System.Resources.Writer.dll", 617 | "build/netstandard2.0/ref/System.Runtime.CompilerServices.VisualC.dll", 618 | "build/netstandard2.0/ref/System.Runtime.Extensions.dll", 619 | "build/netstandard2.0/ref/System.Runtime.Handles.dll", 620 | "build/netstandard2.0/ref/System.Runtime.InteropServices.RuntimeInformation.dll", 621 | "build/netstandard2.0/ref/System.Runtime.InteropServices.dll", 622 | "build/netstandard2.0/ref/System.Runtime.Numerics.dll", 623 | "build/netstandard2.0/ref/System.Runtime.Serialization.Formatters.dll", 624 | "build/netstandard2.0/ref/System.Runtime.Serialization.Json.dll", 625 | "build/netstandard2.0/ref/System.Runtime.Serialization.Primitives.dll", 626 | "build/netstandard2.0/ref/System.Runtime.Serialization.Xml.dll", 627 | "build/netstandard2.0/ref/System.Runtime.Serialization.dll", 628 | "build/netstandard2.0/ref/System.Runtime.dll", 629 | "build/netstandard2.0/ref/System.Security.Claims.dll", 630 | "build/netstandard2.0/ref/System.Security.Cryptography.Algorithms.dll", 631 | "build/netstandard2.0/ref/System.Security.Cryptography.Csp.dll", 632 | "build/netstandard2.0/ref/System.Security.Cryptography.Encoding.dll", 633 | "build/netstandard2.0/ref/System.Security.Cryptography.Primitives.dll", 634 | "build/netstandard2.0/ref/System.Security.Cryptography.X509Certificates.dll", 635 | "build/netstandard2.0/ref/System.Security.Principal.dll", 636 | "build/netstandard2.0/ref/System.Security.SecureString.dll", 637 | "build/netstandard2.0/ref/System.ServiceModel.Web.dll", 638 | "build/netstandard2.0/ref/System.Text.Encoding.Extensions.dll", 639 | "build/netstandard2.0/ref/System.Text.Encoding.dll", 640 | "build/netstandard2.0/ref/System.Text.RegularExpressions.dll", 641 | "build/netstandard2.0/ref/System.Threading.Overlapped.dll", 642 | "build/netstandard2.0/ref/System.Threading.Tasks.Parallel.dll", 643 | "build/netstandard2.0/ref/System.Threading.Tasks.dll", 644 | "build/netstandard2.0/ref/System.Threading.Thread.dll", 645 | "build/netstandard2.0/ref/System.Threading.ThreadPool.dll", 646 | "build/netstandard2.0/ref/System.Threading.Timer.dll", 647 | "build/netstandard2.0/ref/System.Threading.dll", 648 | "build/netstandard2.0/ref/System.Transactions.dll", 649 | "build/netstandard2.0/ref/System.ValueTuple.dll", 650 | "build/netstandard2.0/ref/System.Web.dll", 651 | "build/netstandard2.0/ref/System.Windows.dll", 652 | "build/netstandard2.0/ref/System.Xml.Linq.dll", 653 | "build/netstandard2.0/ref/System.Xml.ReaderWriter.dll", 654 | "build/netstandard2.0/ref/System.Xml.Serialization.dll", 655 | "build/netstandard2.0/ref/System.Xml.XDocument.dll", 656 | "build/netstandard2.0/ref/System.Xml.XPath.XDocument.dll", 657 | "build/netstandard2.0/ref/System.Xml.XPath.dll", 658 | "build/netstandard2.0/ref/System.Xml.XmlDocument.dll", 659 | "build/netstandard2.0/ref/System.Xml.XmlSerializer.dll", 660 | "build/netstandard2.0/ref/System.Xml.dll", 661 | "build/netstandard2.0/ref/System.dll", 662 | "build/netstandard2.0/ref/mscorlib.dll", 663 | "build/netstandard2.0/ref/netstandard.dll", 664 | "build/netstandard2.0/ref/netstandard.xml", 665 | "lib/netstandard1.0/_._", 666 | "netstandard.library.2.0.0.nupkg.sha512", 667 | "netstandard.library.nuspec" 668 | ] 669 | }, 670 | "Encapsulamento/1.0.0": { 671 | "type": "project", 672 | "path": "../Encapsulamento/Encapsulamento.csproj", 673 | "msbuildProject": "../Encapsulamento/Encapsulamento.csproj" 674 | } 675 | }, 676 | "projectFileDependencyGroups": { 677 | ".NETCoreApp,Version=v2.0": [ 678 | "Encapsulamento >= 1.0.0", 679 | "Microsoft.NETCore.App >= 2.0.0" 680 | ] 681 | }, 682 | "packageFolders": { 683 | "C:\\Users\\Cod3r\\.nuget\\packages\\": {}, 684 | "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder": {} 685 | }, 686 | "project": { 687 | "version": "1.0.0", 688 | "restore": { 689 | "projectUniqueName": "C:\\Users\\Cod3r\\source\\repos\\CursoCSharp\\CursoCSharp\\CursoCSharp.csproj", 690 | "projectName": "CursoCSharp", 691 | "projectPath": "C:\\Users\\Cod3r\\source\\repos\\CursoCSharp\\CursoCSharp\\CursoCSharp.csproj", 692 | "packagesPath": "C:\\Users\\Cod3r\\.nuget\\packages\\", 693 | "outputPath": "C:\\Users\\Cod3r\\source\\repos\\CursoCSharp\\CursoCSharp\\obj\\", 694 | "projectStyle": "PackageReference", 695 | "fallbackFolders": [ 696 | "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" 697 | ], 698 | "configFilePaths": [ 699 | "C:\\Users\\Cod3r\\AppData\\Roaming\\NuGet\\NuGet.Config", 700 | "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" 701 | ], 702 | "originalTargetFrameworks": [ 703 | "netcoreapp2.0" 704 | ], 705 | "sources": { 706 | "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, 707 | "https://api.nuget.org/v3/index.json": {} 708 | }, 709 | "frameworks": { 710 | "netcoreapp2.0": { 711 | "projectReferences": { 712 | "C:\\Users\\Cod3r\\source\\repos\\CursoCSharp\\Encapsulamento\\Encapsulamento.csproj": { 713 | "projectPath": "C:\\Users\\Cod3r\\source\\repos\\CursoCSharp\\Encapsulamento\\Encapsulamento.csproj" 714 | } 715 | } 716 | } 717 | }, 718 | "warningProperties": { 719 | "warnAsError": [ 720 | "NU1605" 721 | ] 722 | } 723 | }, 724 | "frameworks": { 725 | "netcoreapp2.0": { 726 | "dependencies": { 727 | "Microsoft.NETCore.App": { 728 | "target": "Package", 729 | "version": "[2.0.0, )", 730 | "autoReferenced": true 731 | } 732 | }, 733 | "imports": [ 734 | "net461" 735 | ], 736 | "assetTargetFallback": true, 737 | "warn": true 738 | } 739 | } 740 | } 741 | } -------------------------------------------------------------------------------- /CursoCSharp/Encapsulamento/AmigoProximo.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace Encapsulamento 6 | { 7 | public class AmigoProximo 8 | { 9 | public readonly SubCelebridade amiga = new SubCelebridade(); 10 | 11 | public void MeusAcessos() { 12 | Console.WriteLine("AmigoProximo..."); 13 | 14 | Console.WriteLine(amiga.InfoPublica); 15 | // Console.WriteLine(amiga.CorDoOlho); 16 | Console.WriteLine(amiga.NumeroCelular); 17 | Console.WriteLine(amiga.JeitoDeFalar); 18 | // Console.WriteLine(amiga.SegredoFamilia); 19 | // Console.WriteLine(amiga.UsaMuitoPhotoshop); 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /CursoCSharp/Encapsulamento/Encapsulamento.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netcoreapp2.0 5 | 6 | 7 | 8 | 7.2 9 | 10 | 11 | 12 | 7.2 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /CursoCSharp/Encapsulamento/FilhoReconhecido.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace Encapsulamento 6 | { 7 | public class FilhoReconhecido : SubCelebridade 8 | { 9 | public new void MeusAcessos() { 10 | Console.WriteLine("FilhoReconhecido..."); 11 | 12 | Console.WriteLine(InfoPublica); 13 | Console.WriteLine(CorDoOlho); 14 | Console.WriteLine(NumeroCelular); 15 | Console.WriteLine(JeitoDeFalar); 16 | Console.WriteLine(SegredoFamilia); 17 | // Console.WriteLine(UsaMuitoPhotoshop); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /CursoCSharp/Encapsulamento/SubCelebridade.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace Encapsulamento 6 | { 7 | public class SubCelebridade 8 | { 9 | // Todos 10 | public string InfoPublica = "Tenho um instagram!"; 11 | 12 | // herança 13 | protected string CorDoOlho = "Verde"; 14 | 15 | // mesmo projeto (assembly) 16 | internal ulong NumeroCelular = 5511999999999; 17 | 18 | // herança ou mesmo projeto 19 | protected internal string JeitoDeFalar = "Uso muitas gírias"; 20 | 21 | // mesma class ou herança no mesmo projeto (c# >= 7.2) 22 | private protected string SegredoFamilia = "Bla bla"; 23 | 24 | // private é o padrão 25 | bool UsaMuitoPhotoshop = true; 26 | 27 | public void MeusAcessos() { 28 | Console.WriteLine("SubCelebridade..."); 29 | 30 | Console.WriteLine(InfoPublica); 31 | Console.WriteLine(CorDoOlho); 32 | Console.WriteLine(NumeroCelular); 33 | Console.WriteLine(JeitoDeFalar); 34 | Console.WriteLine(SegredoFamilia); 35 | Console.WriteLine(UsaMuitoPhotoshop); 36 | } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /CursoCSharp/Encapsulamento/bin/Debug/netcoreapp2.0/Encapsulamento.deps.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeTarget": { 3 | "name": ".NETCoreApp,Version=v2.0", 4 | "signature": "da39a3ee5e6b4b0d3255bfef95601890afd80709" 5 | }, 6 | "compilationOptions": {}, 7 | "targets": { 8 | ".NETCoreApp,Version=v2.0": { 9 | "Encapsulamento/1.0.0": { 10 | "runtime": { 11 | "Encapsulamento.dll": {} 12 | } 13 | } 14 | } 15 | }, 16 | "libraries": { 17 | "Encapsulamento/1.0.0": { 18 | "type": "project", 19 | "serviceable": false, 20 | "sha512": "" 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /CursoCSharp/Encapsulamento/bin/Debug/netcoreapp2.0/Encapsulamento.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cod3rcursos/curso-c-sharp/464fc7fcce26afcf46da1295e099c9087e1b9c2c/CursoCSharp/Encapsulamento/bin/Debug/netcoreapp2.0/Encapsulamento.dll -------------------------------------------------------------------------------- /CursoCSharp/Encapsulamento/bin/Debug/netcoreapp2.0/Encapsulamento.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cod3rcursos/curso-c-sharp/464fc7fcce26afcf46da1295e099c9087e1b9c2c/CursoCSharp/Encapsulamento/bin/Debug/netcoreapp2.0/Encapsulamento.pdb -------------------------------------------------------------------------------- /CursoCSharp/Encapsulamento/obj/Debug/netcoreapp2.0/Encapsulamento.AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // O código foi gerado por uma ferramenta. 4 | // Versão de Tempo de Execução:4.0.30319.42000 5 | // 6 | // As alterações ao arquivo poderão causar comportamento incorreto e serão perdidas se 7 | // o código for gerado novamente. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | using System; 12 | using System.Reflection; 13 | 14 | [assembly: System.Reflection.AssemblyCompanyAttribute("Encapsulamento")] 15 | [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] 16 | [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] 17 | [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] 18 | [assembly: System.Reflection.AssemblyProductAttribute("Encapsulamento")] 19 | [assembly: System.Reflection.AssemblyTitleAttribute("Encapsulamento")] 20 | [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] 21 | 22 | // Gerado pela classe WriteCodeFragment do MSBuild. 23 | 24 | -------------------------------------------------------------------------------- /CursoCSharp/Encapsulamento/obj/Debug/netcoreapp2.0/Encapsulamento.AssemblyInfoInputs.cache: -------------------------------------------------------------------------------- 1 | 7086e1ece1d4900ce27dbdbf15f7e39d77d2e2e1 2 | -------------------------------------------------------------------------------- /CursoCSharp/Encapsulamento/obj/Debug/netcoreapp2.0/Encapsulamento.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | 6fb8b8585efb1d8203ac6d0de8b7f4e515869953 2 | -------------------------------------------------------------------------------- /CursoCSharp/Encapsulamento/obj/Debug/netcoreapp2.0/Encapsulamento.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | C:\Users\Cod3r\source\repos\CursoCSharp\Encapsulamento\bin\Debug\netcoreapp2.0\Encapsulamento.deps.json 2 | C:\Users\Cod3r\source\repos\CursoCSharp\Encapsulamento\bin\Debug\netcoreapp2.0\Encapsulamento.dll 3 | C:\Users\Cod3r\source\repos\CursoCSharp\Encapsulamento\bin\Debug\netcoreapp2.0\Encapsulamento.pdb 4 | C:\Users\Cod3r\source\repos\CursoCSharp\Encapsulamento\obj\Debug\netcoreapp2.0\Encapsulamento.csprojAssemblyReference.cache 5 | C:\Users\Cod3r\source\repos\CursoCSharp\Encapsulamento\obj\Debug\netcoreapp2.0\Encapsulamento.csproj.CoreCompileInputs.cache 6 | C:\Users\Cod3r\source\repos\CursoCSharp\Encapsulamento\obj\Debug\netcoreapp2.0\Encapsulamento.AssemblyInfoInputs.cache 7 | C:\Users\Cod3r\source\repos\CursoCSharp\Encapsulamento\obj\Debug\netcoreapp2.0\Encapsulamento.AssemblyInfo.cs 8 | C:\Users\Cod3r\source\repos\CursoCSharp\Encapsulamento\obj\Debug\netcoreapp2.0\Encapsulamento.dll 9 | C:\Users\Cod3r\source\repos\CursoCSharp\Encapsulamento\obj\Debug\netcoreapp2.0\Encapsulamento.pdb 10 | -------------------------------------------------------------------------------- /CursoCSharp/Encapsulamento/obj/Debug/netcoreapp2.0/Encapsulamento.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cod3rcursos/curso-c-sharp/464fc7fcce26afcf46da1295e099c9087e1b9c2c/CursoCSharp/Encapsulamento/obj/Debug/netcoreapp2.0/Encapsulamento.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /CursoCSharp/Encapsulamento/obj/Debug/netcoreapp2.0/Encapsulamento.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cod3rcursos/curso-c-sharp/464fc7fcce26afcf46da1295e099c9087e1b9c2c/CursoCSharp/Encapsulamento/obj/Debug/netcoreapp2.0/Encapsulamento.dll -------------------------------------------------------------------------------- /CursoCSharp/Encapsulamento/obj/Debug/netcoreapp2.0/Encapsulamento.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cod3rcursos/curso-c-sharp/464fc7fcce26afcf46da1295e099c9087e1b9c2c/CursoCSharp/Encapsulamento/obj/Debug/netcoreapp2.0/Encapsulamento.pdb -------------------------------------------------------------------------------- /CursoCSharp/Encapsulamento/obj/Encapsulamento.csproj.nuget.cache: -------------------------------------------------------------------------------- 1 | { 2 | "version": 1, 3 | "dgSpecHash": "x97YNDsJaQP3tV6wByANClpfABpvYliUdeIZFWTLXU3l3g9zNUNBQ/s0JdHZ3QRhWJnGQNJpG7eB0yvvAxG8tw==", 4 | "success": true 5 | } -------------------------------------------------------------------------------- /CursoCSharp/Encapsulamento/obj/Encapsulamento.csproj.nuget.g.props: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | True 5 | NuGet 6 | C:\Users\Cod3r\source\repos\CursoCSharp\Encapsulamento\obj\project.assets.json 7 | $(UserProfile)\.nuget\packages\ 8 | C:\Users\Cod3r\.nuget\packages\;C:\Program Files\dotnet\sdk\NuGetFallbackFolder 9 | PackageReference 10 | 4.7.0 11 | 12 | 13 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath) 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /CursoCSharp/Encapsulamento/obj/Encapsulamento.csproj.nuget.g.targets: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath) 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /CursoCSharp/Encapsulamento/obj/project.assets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 3, 3 | "targets": { 4 | ".NETCoreApp,Version=v2.0": { 5 | "Microsoft.NETCore.App/2.0.0": { 6 | "type": "package", 7 | "dependencies": { 8 | "Microsoft.NETCore.DotNetHostPolicy": "2.0.0", 9 | "Microsoft.NETCore.Platforms": "2.0.0", 10 | "NETStandard.Library": "2.0.0" 11 | }, 12 | "compile": { 13 | "ref/netcoreapp2.0/Microsoft.CSharp.dll": {}, 14 | "ref/netcoreapp2.0/Microsoft.VisualBasic.dll": {}, 15 | "ref/netcoreapp2.0/Microsoft.Win32.Primitives.dll": {}, 16 | "ref/netcoreapp2.0/System.AppContext.dll": {}, 17 | "ref/netcoreapp2.0/System.Buffers.dll": {}, 18 | "ref/netcoreapp2.0/System.Collections.Concurrent.dll": {}, 19 | "ref/netcoreapp2.0/System.Collections.Immutable.dll": {}, 20 | "ref/netcoreapp2.0/System.Collections.NonGeneric.dll": {}, 21 | "ref/netcoreapp2.0/System.Collections.Specialized.dll": {}, 22 | "ref/netcoreapp2.0/System.Collections.dll": {}, 23 | "ref/netcoreapp2.0/System.ComponentModel.Annotations.dll": {}, 24 | "ref/netcoreapp2.0/System.ComponentModel.Composition.dll": {}, 25 | "ref/netcoreapp2.0/System.ComponentModel.DataAnnotations.dll": {}, 26 | "ref/netcoreapp2.0/System.ComponentModel.EventBasedAsync.dll": {}, 27 | "ref/netcoreapp2.0/System.ComponentModel.Primitives.dll": {}, 28 | "ref/netcoreapp2.0/System.ComponentModel.TypeConverter.dll": {}, 29 | "ref/netcoreapp2.0/System.ComponentModel.dll": {}, 30 | "ref/netcoreapp2.0/System.Configuration.dll": {}, 31 | "ref/netcoreapp2.0/System.Console.dll": {}, 32 | "ref/netcoreapp2.0/System.Core.dll": {}, 33 | "ref/netcoreapp2.0/System.Data.Common.dll": {}, 34 | "ref/netcoreapp2.0/System.Data.dll": {}, 35 | "ref/netcoreapp2.0/System.Diagnostics.Contracts.dll": {}, 36 | "ref/netcoreapp2.0/System.Diagnostics.Debug.dll": {}, 37 | "ref/netcoreapp2.0/System.Diagnostics.DiagnosticSource.dll": {}, 38 | "ref/netcoreapp2.0/System.Diagnostics.FileVersionInfo.dll": {}, 39 | "ref/netcoreapp2.0/System.Diagnostics.Process.dll": {}, 40 | "ref/netcoreapp2.0/System.Diagnostics.StackTrace.dll": {}, 41 | "ref/netcoreapp2.0/System.Diagnostics.TextWriterTraceListener.dll": {}, 42 | "ref/netcoreapp2.0/System.Diagnostics.Tools.dll": {}, 43 | "ref/netcoreapp2.0/System.Diagnostics.TraceSource.dll": {}, 44 | "ref/netcoreapp2.0/System.Diagnostics.Tracing.dll": {}, 45 | "ref/netcoreapp2.0/System.Drawing.Primitives.dll": {}, 46 | "ref/netcoreapp2.0/System.Drawing.dll": {}, 47 | "ref/netcoreapp2.0/System.Dynamic.Runtime.dll": {}, 48 | "ref/netcoreapp2.0/System.Globalization.Calendars.dll": {}, 49 | "ref/netcoreapp2.0/System.Globalization.Extensions.dll": {}, 50 | "ref/netcoreapp2.0/System.Globalization.dll": {}, 51 | "ref/netcoreapp2.0/System.IO.Compression.FileSystem.dll": {}, 52 | "ref/netcoreapp2.0/System.IO.Compression.ZipFile.dll": {}, 53 | "ref/netcoreapp2.0/System.IO.Compression.dll": {}, 54 | "ref/netcoreapp2.0/System.IO.FileSystem.DriveInfo.dll": {}, 55 | "ref/netcoreapp2.0/System.IO.FileSystem.Primitives.dll": {}, 56 | "ref/netcoreapp2.0/System.IO.FileSystem.Watcher.dll": {}, 57 | "ref/netcoreapp2.0/System.IO.FileSystem.dll": {}, 58 | "ref/netcoreapp2.0/System.IO.IsolatedStorage.dll": {}, 59 | "ref/netcoreapp2.0/System.IO.MemoryMappedFiles.dll": {}, 60 | "ref/netcoreapp2.0/System.IO.Pipes.dll": {}, 61 | "ref/netcoreapp2.0/System.IO.UnmanagedMemoryStream.dll": {}, 62 | "ref/netcoreapp2.0/System.IO.dll": {}, 63 | "ref/netcoreapp2.0/System.Linq.Expressions.dll": {}, 64 | "ref/netcoreapp2.0/System.Linq.Parallel.dll": {}, 65 | "ref/netcoreapp2.0/System.Linq.Queryable.dll": {}, 66 | "ref/netcoreapp2.0/System.Linq.dll": {}, 67 | "ref/netcoreapp2.0/System.Net.Http.dll": {}, 68 | "ref/netcoreapp2.0/System.Net.HttpListener.dll": {}, 69 | "ref/netcoreapp2.0/System.Net.Mail.dll": {}, 70 | "ref/netcoreapp2.0/System.Net.NameResolution.dll": {}, 71 | "ref/netcoreapp2.0/System.Net.NetworkInformation.dll": {}, 72 | "ref/netcoreapp2.0/System.Net.Ping.dll": {}, 73 | "ref/netcoreapp2.0/System.Net.Primitives.dll": {}, 74 | "ref/netcoreapp2.0/System.Net.Requests.dll": {}, 75 | "ref/netcoreapp2.0/System.Net.Security.dll": {}, 76 | "ref/netcoreapp2.0/System.Net.ServicePoint.dll": {}, 77 | "ref/netcoreapp2.0/System.Net.Sockets.dll": {}, 78 | "ref/netcoreapp2.0/System.Net.WebClient.dll": {}, 79 | "ref/netcoreapp2.0/System.Net.WebHeaderCollection.dll": {}, 80 | "ref/netcoreapp2.0/System.Net.WebProxy.dll": {}, 81 | "ref/netcoreapp2.0/System.Net.WebSockets.Client.dll": {}, 82 | "ref/netcoreapp2.0/System.Net.WebSockets.dll": {}, 83 | "ref/netcoreapp2.0/System.Net.dll": {}, 84 | "ref/netcoreapp2.0/System.Numerics.Vectors.dll": {}, 85 | "ref/netcoreapp2.0/System.Numerics.dll": {}, 86 | "ref/netcoreapp2.0/System.ObjectModel.dll": {}, 87 | "ref/netcoreapp2.0/System.Reflection.DispatchProxy.dll": {}, 88 | "ref/netcoreapp2.0/System.Reflection.Emit.ILGeneration.dll": {}, 89 | "ref/netcoreapp2.0/System.Reflection.Emit.Lightweight.dll": {}, 90 | "ref/netcoreapp2.0/System.Reflection.Emit.dll": {}, 91 | "ref/netcoreapp2.0/System.Reflection.Extensions.dll": {}, 92 | "ref/netcoreapp2.0/System.Reflection.Metadata.dll": {}, 93 | "ref/netcoreapp2.0/System.Reflection.Primitives.dll": {}, 94 | "ref/netcoreapp2.0/System.Reflection.TypeExtensions.dll": {}, 95 | "ref/netcoreapp2.0/System.Reflection.dll": {}, 96 | "ref/netcoreapp2.0/System.Resources.Reader.dll": {}, 97 | "ref/netcoreapp2.0/System.Resources.ResourceManager.dll": {}, 98 | "ref/netcoreapp2.0/System.Resources.Writer.dll": {}, 99 | "ref/netcoreapp2.0/System.Runtime.CompilerServices.VisualC.dll": {}, 100 | "ref/netcoreapp2.0/System.Runtime.Extensions.dll": {}, 101 | "ref/netcoreapp2.0/System.Runtime.Handles.dll": {}, 102 | "ref/netcoreapp2.0/System.Runtime.InteropServices.RuntimeInformation.dll": {}, 103 | "ref/netcoreapp2.0/System.Runtime.InteropServices.WindowsRuntime.dll": {}, 104 | "ref/netcoreapp2.0/System.Runtime.InteropServices.dll": {}, 105 | "ref/netcoreapp2.0/System.Runtime.Loader.dll": {}, 106 | "ref/netcoreapp2.0/System.Runtime.Numerics.dll": {}, 107 | "ref/netcoreapp2.0/System.Runtime.Serialization.Formatters.dll": {}, 108 | "ref/netcoreapp2.0/System.Runtime.Serialization.Json.dll": {}, 109 | "ref/netcoreapp2.0/System.Runtime.Serialization.Primitives.dll": {}, 110 | "ref/netcoreapp2.0/System.Runtime.Serialization.Xml.dll": {}, 111 | "ref/netcoreapp2.0/System.Runtime.Serialization.dll": {}, 112 | "ref/netcoreapp2.0/System.Runtime.dll": {}, 113 | "ref/netcoreapp2.0/System.Security.Claims.dll": {}, 114 | "ref/netcoreapp2.0/System.Security.Cryptography.Algorithms.dll": {}, 115 | "ref/netcoreapp2.0/System.Security.Cryptography.Csp.dll": {}, 116 | "ref/netcoreapp2.0/System.Security.Cryptography.Encoding.dll": {}, 117 | "ref/netcoreapp2.0/System.Security.Cryptography.Primitives.dll": {}, 118 | "ref/netcoreapp2.0/System.Security.Cryptography.X509Certificates.dll": {}, 119 | "ref/netcoreapp2.0/System.Security.Principal.dll": {}, 120 | "ref/netcoreapp2.0/System.Security.SecureString.dll": {}, 121 | "ref/netcoreapp2.0/System.Security.dll": {}, 122 | "ref/netcoreapp2.0/System.ServiceModel.Web.dll": {}, 123 | "ref/netcoreapp2.0/System.ServiceProcess.dll": {}, 124 | "ref/netcoreapp2.0/System.Text.Encoding.Extensions.dll": {}, 125 | "ref/netcoreapp2.0/System.Text.Encoding.dll": {}, 126 | "ref/netcoreapp2.0/System.Text.RegularExpressions.dll": {}, 127 | "ref/netcoreapp2.0/System.Threading.Overlapped.dll": {}, 128 | "ref/netcoreapp2.0/System.Threading.Tasks.Dataflow.dll": {}, 129 | "ref/netcoreapp2.0/System.Threading.Tasks.Extensions.dll": {}, 130 | "ref/netcoreapp2.0/System.Threading.Tasks.Parallel.dll": {}, 131 | "ref/netcoreapp2.0/System.Threading.Tasks.dll": {}, 132 | "ref/netcoreapp2.0/System.Threading.Thread.dll": {}, 133 | "ref/netcoreapp2.0/System.Threading.ThreadPool.dll": {}, 134 | "ref/netcoreapp2.0/System.Threading.Timer.dll": {}, 135 | "ref/netcoreapp2.0/System.Threading.dll": {}, 136 | "ref/netcoreapp2.0/System.Transactions.Local.dll": {}, 137 | "ref/netcoreapp2.0/System.Transactions.dll": {}, 138 | "ref/netcoreapp2.0/System.ValueTuple.dll": {}, 139 | "ref/netcoreapp2.0/System.Web.HttpUtility.dll": {}, 140 | "ref/netcoreapp2.0/System.Web.dll": {}, 141 | "ref/netcoreapp2.0/System.Windows.dll": {}, 142 | "ref/netcoreapp2.0/System.Xml.Linq.dll": {}, 143 | "ref/netcoreapp2.0/System.Xml.ReaderWriter.dll": {}, 144 | "ref/netcoreapp2.0/System.Xml.Serialization.dll": {}, 145 | "ref/netcoreapp2.0/System.Xml.XDocument.dll": {}, 146 | "ref/netcoreapp2.0/System.Xml.XPath.XDocument.dll": {}, 147 | "ref/netcoreapp2.0/System.Xml.XPath.dll": {}, 148 | "ref/netcoreapp2.0/System.Xml.XmlDocument.dll": {}, 149 | "ref/netcoreapp2.0/System.Xml.XmlSerializer.dll": {}, 150 | "ref/netcoreapp2.0/System.Xml.dll": {}, 151 | "ref/netcoreapp2.0/System.dll": {}, 152 | "ref/netcoreapp2.0/WindowsBase.dll": {}, 153 | "ref/netcoreapp2.0/mscorlib.dll": {}, 154 | "ref/netcoreapp2.0/netstandard.dll": {} 155 | }, 156 | "build": { 157 | "build/netcoreapp2.0/Microsoft.NETCore.App.props": {}, 158 | "build/netcoreapp2.0/Microsoft.NETCore.App.targets": {} 159 | } 160 | }, 161 | "Microsoft.NETCore.DotNetAppHost/2.0.0": { 162 | "type": "package" 163 | }, 164 | "Microsoft.NETCore.DotNetHostPolicy/2.0.0": { 165 | "type": "package", 166 | "dependencies": { 167 | "Microsoft.NETCore.DotNetHostResolver": "2.0.0" 168 | } 169 | }, 170 | "Microsoft.NETCore.DotNetHostResolver/2.0.0": { 171 | "type": "package", 172 | "dependencies": { 173 | "Microsoft.NETCore.DotNetAppHost": "2.0.0" 174 | } 175 | }, 176 | "Microsoft.NETCore.Platforms/2.0.0": { 177 | "type": "package", 178 | "compile": { 179 | "lib/netstandard1.0/_._": {} 180 | }, 181 | "runtime": { 182 | "lib/netstandard1.0/_._": {} 183 | } 184 | }, 185 | "NETStandard.Library/2.0.0": { 186 | "type": "package", 187 | "dependencies": { 188 | "Microsoft.NETCore.Platforms": "1.1.0" 189 | }, 190 | "compile": { 191 | "lib/netstandard1.0/_._": {} 192 | }, 193 | "runtime": { 194 | "lib/netstandard1.0/_._": {} 195 | }, 196 | "build": { 197 | "build/netstandard2.0/NETStandard.Library.targets": {} 198 | } 199 | } 200 | } 201 | }, 202 | "libraries": { 203 | "Microsoft.NETCore.App/2.0.0": { 204 | "sha512": "/mzXF+UtZef+VpzzN88EpvFq5U6z4rj54ZMq/J968H6pcvyLOmcupmTRpJ3CJm8ILoCGh9WI7qpDdiKtuzswrQ==", 205 | "type": "package", 206 | "path": "microsoft.netcore.app/2.0.0", 207 | "files": [ 208 | "LICENSE.TXT", 209 | "Microsoft.NETCore.App.versions.txt", 210 | "THIRD-PARTY-NOTICES.TXT", 211 | "build/netcoreapp2.0/Microsoft.NETCore.App.PlatformManifest.txt", 212 | "build/netcoreapp2.0/Microsoft.NETCore.App.props", 213 | "build/netcoreapp2.0/Microsoft.NETCore.App.targets", 214 | "microsoft.netcore.app.2.0.0.nupkg.sha512", 215 | "microsoft.netcore.app.nuspec", 216 | "ref/netcoreapp/_._", 217 | "ref/netcoreapp2.0/Microsoft.CSharp.dll", 218 | "ref/netcoreapp2.0/Microsoft.CSharp.xml", 219 | "ref/netcoreapp2.0/Microsoft.VisualBasic.dll", 220 | "ref/netcoreapp2.0/Microsoft.VisualBasic.xml", 221 | "ref/netcoreapp2.0/Microsoft.Win32.Primitives.dll", 222 | "ref/netcoreapp2.0/Microsoft.Win32.Primitives.xml", 223 | "ref/netcoreapp2.0/System.AppContext.dll", 224 | "ref/netcoreapp2.0/System.AppContext.xml", 225 | "ref/netcoreapp2.0/System.Buffers.dll", 226 | "ref/netcoreapp2.0/System.Buffers.xml", 227 | "ref/netcoreapp2.0/System.Collections.Concurrent.dll", 228 | "ref/netcoreapp2.0/System.Collections.Concurrent.xml", 229 | "ref/netcoreapp2.0/System.Collections.Immutable.dll", 230 | "ref/netcoreapp2.0/System.Collections.Immutable.xml", 231 | "ref/netcoreapp2.0/System.Collections.NonGeneric.dll", 232 | "ref/netcoreapp2.0/System.Collections.NonGeneric.xml", 233 | "ref/netcoreapp2.0/System.Collections.Specialized.dll", 234 | "ref/netcoreapp2.0/System.Collections.Specialized.xml", 235 | "ref/netcoreapp2.0/System.Collections.dll", 236 | "ref/netcoreapp2.0/System.Collections.xml", 237 | "ref/netcoreapp2.0/System.ComponentModel.Annotations.dll", 238 | "ref/netcoreapp2.0/System.ComponentModel.Annotations.xml", 239 | "ref/netcoreapp2.0/System.ComponentModel.Composition.dll", 240 | "ref/netcoreapp2.0/System.ComponentModel.DataAnnotations.dll", 241 | "ref/netcoreapp2.0/System.ComponentModel.EventBasedAsync.dll", 242 | "ref/netcoreapp2.0/System.ComponentModel.EventBasedAsync.xml", 243 | "ref/netcoreapp2.0/System.ComponentModel.Primitives.dll", 244 | "ref/netcoreapp2.0/System.ComponentModel.Primitives.xml", 245 | "ref/netcoreapp2.0/System.ComponentModel.TypeConverter.dll", 246 | "ref/netcoreapp2.0/System.ComponentModel.TypeConverter.xml", 247 | "ref/netcoreapp2.0/System.ComponentModel.dll", 248 | "ref/netcoreapp2.0/System.ComponentModel.xml", 249 | "ref/netcoreapp2.0/System.Configuration.dll", 250 | "ref/netcoreapp2.0/System.Console.dll", 251 | "ref/netcoreapp2.0/System.Console.xml", 252 | "ref/netcoreapp2.0/System.Core.dll", 253 | "ref/netcoreapp2.0/System.Data.Common.dll", 254 | "ref/netcoreapp2.0/System.Data.Common.xml", 255 | "ref/netcoreapp2.0/System.Data.dll", 256 | "ref/netcoreapp2.0/System.Diagnostics.Contracts.dll", 257 | "ref/netcoreapp2.0/System.Diagnostics.Contracts.xml", 258 | "ref/netcoreapp2.0/System.Diagnostics.Debug.dll", 259 | "ref/netcoreapp2.0/System.Diagnostics.Debug.xml", 260 | "ref/netcoreapp2.0/System.Diagnostics.DiagnosticSource.dll", 261 | "ref/netcoreapp2.0/System.Diagnostics.DiagnosticSource.xml", 262 | "ref/netcoreapp2.0/System.Diagnostics.FileVersionInfo.dll", 263 | "ref/netcoreapp2.0/System.Diagnostics.FileVersionInfo.xml", 264 | "ref/netcoreapp2.0/System.Diagnostics.Process.dll", 265 | "ref/netcoreapp2.0/System.Diagnostics.Process.xml", 266 | "ref/netcoreapp2.0/System.Diagnostics.StackTrace.dll", 267 | "ref/netcoreapp2.0/System.Diagnostics.StackTrace.xml", 268 | "ref/netcoreapp2.0/System.Diagnostics.TextWriterTraceListener.dll", 269 | "ref/netcoreapp2.0/System.Diagnostics.TextWriterTraceListener.xml", 270 | "ref/netcoreapp2.0/System.Diagnostics.Tools.dll", 271 | "ref/netcoreapp2.0/System.Diagnostics.Tools.xml", 272 | "ref/netcoreapp2.0/System.Diagnostics.TraceSource.dll", 273 | "ref/netcoreapp2.0/System.Diagnostics.TraceSource.xml", 274 | "ref/netcoreapp2.0/System.Diagnostics.Tracing.dll", 275 | "ref/netcoreapp2.0/System.Diagnostics.Tracing.xml", 276 | "ref/netcoreapp2.0/System.Drawing.Primitives.dll", 277 | "ref/netcoreapp2.0/System.Drawing.Primitives.xml", 278 | "ref/netcoreapp2.0/System.Drawing.dll", 279 | "ref/netcoreapp2.0/System.Dynamic.Runtime.dll", 280 | "ref/netcoreapp2.0/System.Dynamic.Runtime.xml", 281 | "ref/netcoreapp2.0/System.Globalization.Calendars.dll", 282 | "ref/netcoreapp2.0/System.Globalization.Calendars.xml", 283 | "ref/netcoreapp2.0/System.Globalization.Extensions.dll", 284 | "ref/netcoreapp2.0/System.Globalization.Extensions.xml", 285 | "ref/netcoreapp2.0/System.Globalization.dll", 286 | "ref/netcoreapp2.0/System.Globalization.xml", 287 | "ref/netcoreapp2.0/System.IO.Compression.FileSystem.dll", 288 | "ref/netcoreapp2.0/System.IO.Compression.ZipFile.dll", 289 | "ref/netcoreapp2.0/System.IO.Compression.ZipFile.xml", 290 | "ref/netcoreapp2.0/System.IO.Compression.dll", 291 | "ref/netcoreapp2.0/System.IO.Compression.xml", 292 | "ref/netcoreapp2.0/System.IO.FileSystem.DriveInfo.dll", 293 | "ref/netcoreapp2.0/System.IO.FileSystem.DriveInfo.xml", 294 | "ref/netcoreapp2.0/System.IO.FileSystem.Primitives.dll", 295 | "ref/netcoreapp2.0/System.IO.FileSystem.Primitives.xml", 296 | "ref/netcoreapp2.0/System.IO.FileSystem.Watcher.dll", 297 | "ref/netcoreapp2.0/System.IO.FileSystem.Watcher.xml", 298 | "ref/netcoreapp2.0/System.IO.FileSystem.dll", 299 | "ref/netcoreapp2.0/System.IO.FileSystem.xml", 300 | "ref/netcoreapp2.0/System.IO.IsolatedStorage.dll", 301 | "ref/netcoreapp2.0/System.IO.IsolatedStorage.xml", 302 | "ref/netcoreapp2.0/System.IO.MemoryMappedFiles.dll", 303 | "ref/netcoreapp2.0/System.IO.MemoryMappedFiles.xml", 304 | "ref/netcoreapp2.0/System.IO.Pipes.dll", 305 | "ref/netcoreapp2.0/System.IO.Pipes.xml", 306 | "ref/netcoreapp2.0/System.IO.UnmanagedMemoryStream.dll", 307 | "ref/netcoreapp2.0/System.IO.UnmanagedMemoryStream.xml", 308 | "ref/netcoreapp2.0/System.IO.dll", 309 | "ref/netcoreapp2.0/System.IO.xml", 310 | "ref/netcoreapp2.0/System.Linq.Expressions.dll", 311 | "ref/netcoreapp2.0/System.Linq.Expressions.xml", 312 | "ref/netcoreapp2.0/System.Linq.Parallel.dll", 313 | "ref/netcoreapp2.0/System.Linq.Parallel.xml", 314 | "ref/netcoreapp2.0/System.Linq.Queryable.dll", 315 | "ref/netcoreapp2.0/System.Linq.Queryable.xml", 316 | "ref/netcoreapp2.0/System.Linq.dll", 317 | "ref/netcoreapp2.0/System.Linq.xml", 318 | "ref/netcoreapp2.0/System.Net.Http.dll", 319 | "ref/netcoreapp2.0/System.Net.Http.xml", 320 | "ref/netcoreapp2.0/System.Net.HttpListener.dll", 321 | "ref/netcoreapp2.0/System.Net.HttpListener.xml", 322 | "ref/netcoreapp2.0/System.Net.Mail.dll", 323 | "ref/netcoreapp2.0/System.Net.Mail.xml", 324 | "ref/netcoreapp2.0/System.Net.NameResolution.dll", 325 | "ref/netcoreapp2.0/System.Net.NameResolution.xml", 326 | "ref/netcoreapp2.0/System.Net.NetworkInformation.dll", 327 | "ref/netcoreapp2.0/System.Net.NetworkInformation.xml", 328 | "ref/netcoreapp2.0/System.Net.Ping.dll", 329 | "ref/netcoreapp2.0/System.Net.Ping.xml", 330 | "ref/netcoreapp2.0/System.Net.Primitives.dll", 331 | "ref/netcoreapp2.0/System.Net.Primitives.xml", 332 | "ref/netcoreapp2.0/System.Net.Requests.dll", 333 | "ref/netcoreapp2.0/System.Net.Requests.xml", 334 | "ref/netcoreapp2.0/System.Net.Security.dll", 335 | "ref/netcoreapp2.0/System.Net.Security.xml", 336 | "ref/netcoreapp2.0/System.Net.ServicePoint.dll", 337 | "ref/netcoreapp2.0/System.Net.ServicePoint.xml", 338 | "ref/netcoreapp2.0/System.Net.Sockets.dll", 339 | "ref/netcoreapp2.0/System.Net.Sockets.xml", 340 | "ref/netcoreapp2.0/System.Net.WebClient.dll", 341 | "ref/netcoreapp2.0/System.Net.WebClient.xml", 342 | "ref/netcoreapp2.0/System.Net.WebHeaderCollection.dll", 343 | "ref/netcoreapp2.0/System.Net.WebHeaderCollection.xml", 344 | "ref/netcoreapp2.0/System.Net.WebProxy.dll", 345 | "ref/netcoreapp2.0/System.Net.WebProxy.xml", 346 | "ref/netcoreapp2.0/System.Net.WebSockets.Client.dll", 347 | "ref/netcoreapp2.0/System.Net.WebSockets.Client.xml", 348 | "ref/netcoreapp2.0/System.Net.WebSockets.dll", 349 | "ref/netcoreapp2.0/System.Net.WebSockets.xml", 350 | "ref/netcoreapp2.0/System.Net.dll", 351 | "ref/netcoreapp2.0/System.Numerics.Vectors.dll", 352 | "ref/netcoreapp2.0/System.Numerics.Vectors.xml", 353 | "ref/netcoreapp2.0/System.Numerics.dll", 354 | "ref/netcoreapp2.0/System.ObjectModel.dll", 355 | "ref/netcoreapp2.0/System.ObjectModel.xml", 356 | "ref/netcoreapp2.0/System.Reflection.DispatchProxy.dll", 357 | "ref/netcoreapp2.0/System.Reflection.DispatchProxy.xml", 358 | "ref/netcoreapp2.0/System.Reflection.Emit.ILGeneration.dll", 359 | "ref/netcoreapp2.0/System.Reflection.Emit.ILGeneration.xml", 360 | "ref/netcoreapp2.0/System.Reflection.Emit.Lightweight.dll", 361 | "ref/netcoreapp2.0/System.Reflection.Emit.Lightweight.xml", 362 | "ref/netcoreapp2.0/System.Reflection.Emit.dll", 363 | "ref/netcoreapp2.0/System.Reflection.Emit.xml", 364 | "ref/netcoreapp2.0/System.Reflection.Extensions.dll", 365 | "ref/netcoreapp2.0/System.Reflection.Extensions.xml", 366 | "ref/netcoreapp2.0/System.Reflection.Metadata.dll", 367 | "ref/netcoreapp2.0/System.Reflection.Metadata.xml", 368 | "ref/netcoreapp2.0/System.Reflection.Primitives.dll", 369 | "ref/netcoreapp2.0/System.Reflection.Primitives.xml", 370 | "ref/netcoreapp2.0/System.Reflection.TypeExtensions.dll", 371 | "ref/netcoreapp2.0/System.Reflection.TypeExtensions.xml", 372 | "ref/netcoreapp2.0/System.Reflection.dll", 373 | "ref/netcoreapp2.0/System.Reflection.xml", 374 | "ref/netcoreapp2.0/System.Resources.Reader.dll", 375 | "ref/netcoreapp2.0/System.Resources.Reader.xml", 376 | "ref/netcoreapp2.0/System.Resources.ResourceManager.dll", 377 | "ref/netcoreapp2.0/System.Resources.ResourceManager.xml", 378 | "ref/netcoreapp2.0/System.Resources.Writer.dll", 379 | "ref/netcoreapp2.0/System.Resources.Writer.xml", 380 | "ref/netcoreapp2.0/System.Runtime.CompilerServices.VisualC.dll", 381 | "ref/netcoreapp2.0/System.Runtime.CompilerServices.VisualC.xml", 382 | "ref/netcoreapp2.0/System.Runtime.Extensions.dll", 383 | "ref/netcoreapp2.0/System.Runtime.Extensions.xml", 384 | "ref/netcoreapp2.0/System.Runtime.Handles.dll", 385 | "ref/netcoreapp2.0/System.Runtime.Handles.xml", 386 | "ref/netcoreapp2.0/System.Runtime.InteropServices.RuntimeInformation.dll", 387 | "ref/netcoreapp2.0/System.Runtime.InteropServices.RuntimeInformation.xml", 388 | "ref/netcoreapp2.0/System.Runtime.InteropServices.WindowsRuntime.dll", 389 | "ref/netcoreapp2.0/System.Runtime.InteropServices.WindowsRuntime.xml", 390 | "ref/netcoreapp2.0/System.Runtime.InteropServices.dll", 391 | "ref/netcoreapp2.0/System.Runtime.InteropServices.xml", 392 | "ref/netcoreapp2.0/System.Runtime.Loader.dll", 393 | "ref/netcoreapp2.0/System.Runtime.Loader.xml", 394 | "ref/netcoreapp2.0/System.Runtime.Numerics.dll", 395 | "ref/netcoreapp2.0/System.Runtime.Numerics.xml", 396 | "ref/netcoreapp2.0/System.Runtime.Serialization.Formatters.dll", 397 | "ref/netcoreapp2.0/System.Runtime.Serialization.Formatters.xml", 398 | "ref/netcoreapp2.0/System.Runtime.Serialization.Json.dll", 399 | "ref/netcoreapp2.0/System.Runtime.Serialization.Json.xml", 400 | "ref/netcoreapp2.0/System.Runtime.Serialization.Primitives.dll", 401 | "ref/netcoreapp2.0/System.Runtime.Serialization.Primitives.xml", 402 | "ref/netcoreapp2.0/System.Runtime.Serialization.Xml.dll", 403 | "ref/netcoreapp2.0/System.Runtime.Serialization.Xml.xml", 404 | "ref/netcoreapp2.0/System.Runtime.Serialization.dll", 405 | "ref/netcoreapp2.0/System.Runtime.dll", 406 | "ref/netcoreapp2.0/System.Runtime.xml", 407 | "ref/netcoreapp2.0/System.Security.Claims.dll", 408 | "ref/netcoreapp2.0/System.Security.Claims.xml", 409 | "ref/netcoreapp2.0/System.Security.Cryptography.Algorithms.dll", 410 | "ref/netcoreapp2.0/System.Security.Cryptography.Algorithms.xml", 411 | "ref/netcoreapp2.0/System.Security.Cryptography.Csp.dll", 412 | "ref/netcoreapp2.0/System.Security.Cryptography.Csp.xml", 413 | "ref/netcoreapp2.0/System.Security.Cryptography.Encoding.dll", 414 | "ref/netcoreapp2.0/System.Security.Cryptography.Encoding.xml", 415 | "ref/netcoreapp2.0/System.Security.Cryptography.Primitives.dll", 416 | "ref/netcoreapp2.0/System.Security.Cryptography.Primitives.xml", 417 | "ref/netcoreapp2.0/System.Security.Cryptography.X509Certificates.dll", 418 | "ref/netcoreapp2.0/System.Security.Cryptography.X509Certificates.xml", 419 | "ref/netcoreapp2.0/System.Security.Principal.dll", 420 | "ref/netcoreapp2.0/System.Security.Principal.xml", 421 | "ref/netcoreapp2.0/System.Security.SecureString.dll", 422 | "ref/netcoreapp2.0/System.Security.SecureString.xml", 423 | "ref/netcoreapp2.0/System.Security.dll", 424 | "ref/netcoreapp2.0/System.ServiceModel.Web.dll", 425 | "ref/netcoreapp2.0/System.ServiceProcess.dll", 426 | "ref/netcoreapp2.0/System.Text.Encoding.Extensions.dll", 427 | "ref/netcoreapp2.0/System.Text.Encoding.Extensions.xml", 428 | "ref/netcoreapp2.0/System.Text.Encoding.dll", 429 | "ref/netcoreapp2.0/System.Text.Encoding.xml", 430 | "ref/netcoreapp2.0/System.Text.RegularExpressions.dll", 431 | "ref/netcoreapp2.0/System.Text.RegularExpressions.xml", 432 | "ref/netcoreapp2.0/System.Threading.Overlapped.dll", 433 | "ref/netcoreapp2.0/System.Threading.Overlapped.xml", 434 | "ref/netcoreapp2.0/System.Threading.Tasks.Dataflow.dll", 435 | "ref/netcoreapp2.0/System.Threading.Tasks.Dataflow.xml", 436 | "ref/netcoreapp2.0/System.Threading.Tasks.Extensions.dll", 437 | "ref/netcoreapp2.0/System.Threading.Tasks.Extensions.xml", 438 | "ref/netcoreapp2.0/System.Threading.Tasks.Parallel.dll", 439 | "ref/netcoreapp2.0/System.Threading.Tasks.Parallel.xml", 440 | "ref/netcoreapp2.0/System.Threading.Tasks.dll", 441 | "ref/netcoreapp2.0/System.Threading.Tasks.xml", 442 | "ref/netcoreapp2.0/System.Threading.Thread.dll", 443 | "ref/netcoreapp2.0/System.Threading.Thread.xml", 444 | "ref/netcoreapp2.0/System.Threading.ThreadPool.dll", 445 | "ref/netcoreapp2.0/System.Threading.ThreadPool.xml", 446 | "ref/netcoreapp2.0/System.Threading.Timer.dll", 447 | "ref/netcoreapp2.0/System.Threading.Timer.xml", 448 | "ref/netcoreapp2.0/System.Threading.dll", 449 | "ref/netcoreapp2.0/System.Threading.xml", 450 | "ref/netcoreapp2.0/System.Transactions.Local.dll", 451 | "ref/netcoreapp2.0/System.Transactions.Local.xml", 452 | "ref/netcoreapp2.0/System.Transactions.dll", 453 | "ref/netcoreapp2.0/System.ValueTuple.dll", 454 | "ref/netcoreapp2.0/System.ValueTuple.xml", 455 | "ref/netcoreapp2.0/System.Web.HttpUtility.dll", 456 | "ref/netcoreapp2.0/System.Web.HttpUtility.xml", 457 | "ref/netcoreapp2.0/System.Web.dll", 458 | "ref/netcoreapp2.0/System.Windows.dll", 459 | "ref/netcoreapp2.0/System.Xml.Linq.dll", 460 | "ref/netcoreapp2.0/System.Xml.ReaderWriter.dll", 461 | "ref/netcoreapp2.0/System.Xml.ReaderWriter.xml", 462 | "ref/netcoreapp2.0/System.Xml.Serialization.dll", 463 | "ref/netcoreapp2.0/System.Xml.XDocument.dll", 464 | "ref/netcoreapp2.0/System.Xml.XDocument.xml", 465 | "ref/netcoreapp2.0/System.Xml.XPath.XDocument.dll", 466 | "ref/netcoreapp2.0/System.Xml.XPath.XDocument.xml", 467 | "ref/netcoreapp2.0/System.Xml.XPath.dll", 468 | "ref/netcoreapp2.0/System.Xml.XPath.xml", 469 | "ref/netcoreapp2.0/System.Xml.XmlDocument.dll", 470 | "ref/netcoreapp2.0/System.Xml.XmlDocument.xml", 471 | "ref/netcoreapp2.0/System.Xml.XmlSerializer.dll", 472 | "ref/netcoreapp2.0/System.Xml.XmlSerializer.xml", 473 | "ref/netcoreapp2.0/System.Xml.dll", 474 | "ref/netcoreapp2.0/System.dll", 475 | "ref/netcoreapp2.0/WindowsBase.dll", 476 | "ref/netcoreapp2.0/mscorlib.dll", 477 | "ref/netcoreapp2.0/netstandard.dll", 478 | "runtime.json" 479 | ] 480 | }, 481 | "Microsoft.NETCore.DotNetAppHost/2.0.0": { 482 | "sha512": "L4GGkcI/Mxl8PKLRpFdGmLb5oI8sGIR05bDTGkzCoamAjdUl1Zhkov2swjEsZvKYT8kkdiz39LtwyGYuCJxm1A==", 483 | "type": "package", 484 | "path": "microsoft.netcore.dotnetapphost/2.0.0", 485 | "files": [ 486 | "LICENSE.TXT", 487 | "THIRD-PARTY-NOTICES.TXT", 488 | "microsoft.netcore.dotnetapphost.2.0.0.nupkg.sha512", 489 | "microsoft.netcore.dotnetapphost.nuspec", 490 | "runtime.json" 491 | ] 492 | }, 493 | "Microsoft.NETCore.DotNetHostPolicy/2.0.0": { 494 | "sha512": "rm7mMn0A93fwyAwVhbyOCcPuu2hZNL0A0dAur9sNG9pEkONPfCEQeF7m2mC8KpqZO0Ol6tpV5J0AF3HTXT3GXA==", 495 | "type": "package", 496 | "path": "microsoft.netcore.dotnethostpolicy/2.0.0", 497 | "files": [ 498 | "LICENSE.TXT", 499 | "THIRD-PARTY-NOTICES.TXT", 500 | "microsoft.netcore.dotnethostpolicy.2.0.0.nupkg.sha512", 501 | "microsoft.netcore.dotnethostpolicy.nuspec", 502 | "runtime.json" 503 | ] 504 | }, 505 | "Microsoft.NETCore.DotNetHostResolver/2.0.0": { 506 | "sha512": "uBbjpeSrwsaTCADZCzRk+3aBzNnMqkC4zftJWBsL+Zk+8u+W+/lMb2thM5Y4hiVrv1YQg9t6dKldXzOKkY+pQw==", 507 | "type": "package", 508 | "path": "microsoft.netcore.dotnethostresolver/2.0.0", 509 | "files": [ 510 | "LICENSE.TXT", 511 | "THIRD-PARTY-NOTICES.TXT", 512 | "microsoft.netcore.dotnethostresolver.2.0.0.nupkg.sha512", 513 | "microsoft.netcore.dotnethostresolver.nuspec", 514 | "runtime.json" 515 | ] 516 | }, 517 | "Microsoft.NETCore.Platforms/2.0.0": { 518 | "sha512": "VdLJOCXhZaEMY7Hm2GKiULmn7IEPFE4XC5LPSfBVCUIA8YLZVh846gtfBJalsPQF2PlzdD7ecX7DZEulJ402ZQ==", 519 | "type": "package", 520 | "path": "microsoft.netcore.platforms/2.0.0", 521 | "files": [ 522 | "LICENSE.TXT", 523 | "THIRD-PARTY-NOTICES.TXT", 524 | "lib/netstandard1.0/_._", 525 | "microsoft.netcore.platforms.2.0.0.nupkg.sha512", 526 | "microsoft.netcore.platforms.nuspec", 527 | "runtime.json", 528 | "useSharedDesignerContext.txt", 529 | "version.txt" 530 | ] 531 | }, 532 | "NETStandard.Library/2.0.0": { 533 | "sha512": "7jnbRU+L08FXKMxqUflxEXtVymWvNOrS8yHgu9s6EM8Anr6T/wIX4nZ08j/u3Asz+tCufp3YVwFSEvFTPYmBPA==", 534 | "type": "package", 535 | "path": "netstandard.library/2.0.0", 536 | "files": [ 537 | "LICENSE.TXT", 538 | "THIRD-PARTY-NOTICES.TXT", 539 | "build/NETStandard.Library.targets", 540 | "build/netstandard2.0/NETStandard.Library.targets", 541 | "build/netstandard2.0/ref/Microsoft.Win32.Primitives.dll", 542 | "build/netstandard2.0/ref/System.AppContext.dll", 543 | "build/netstandard2.0/ref/System.Collections.Concurrent.dll", 544 | "build/netstandard2.0/ref/System.Collections.NonGeneric.dll", 545 | "build/netstandard2.0/ref/System.Collections.Specialized.dll", 546 | "build/netstandard2.0/ref/System.Collections.dll", 547 | "build/netstandard2.0/ref/System.ComponentModel.Composition.dll", 548 | "build/netstandard2.0/ref/System.ComponentModel.EventBasedAsync.dll", 549 | "build/netstandard2.0/ref/System.ComponentModel.Primitives.dll", 550 | "build/netstandard2.0/ref/System.ComponentModel.TypeConverter.dll", 551 | "build/netstandard2.0/ref/System.ComponentModel.dll", 552 | "build/netstandard2.0/ref/System.Console.dll", 553 | "build/netstandard2.0/ref/System.Core.dll", 554 | "build/netstandard2.0/ref/System.Data.Common.dll", 555 | "build/netstandard2.0/ref/System.Data.dll", 556 | "build/netstandard2.0/ref/System.Diagnostics.Contracts.dll", 557 | "build/netstandard2.0/ref/System.Diagnostics.Debug.dll", 558 | "build/netstandard2.0/ref/System.Diagnostics.FileVersionInfo.dll", 559 | "build/netstandard2.0/ref/System.Diagnostics.Process.dll", 560 | "build/netstandard2.0/ref/System.Diagnostics.StackTrace.dll", 561 | "build/netstandard2.0/ref/System.Diagnostics.TextWriterTraceListener.dll", 562 | "build/netstandard2.0/ref/System.Diagnostics.Tools.dll", 563 | "build/netstandard2.0/ref/System.Diagnostics.TraceSource.dll", 564 | "build/netstandard2.0/ref/System.Diagnostics.Tracing.dll", 565 | "build/netstandard2.0/ref/System.Drawing.Primitives.dll", 566 | "build/netstandard2.0/ref/System.Drawing.dll", 567 | "build/netstandard2.0/ref/System.Dynamic.Runtime.dll", 568 | "build/netstandard2.0/ref/System.Globalization.Calendars.dll", 569 | "build/netstandard2.0/ref/System.Globalization.Extensions.dll", 570 | "build/netstandard2.0/ref/System.Globalization.dll", 571 | "build/netstandard2.0/ref/System.IO.Compression.FileSystem.dll", 572 | "build/netstandard2.0/ref/System.IO.Compression.ZipFile.dll", 573 | "build/netstandard2.0/ref/System.IO.Compression.dll", 574 | "build/netstandard2.0/ref/System.IO.FileSystem.DriveInfo.dll", 575 | "build/netstandard2.0/ref/System.IO.FileSystem.Primitives.dll", 576 | "build/netstandard2.0/ref/System.IO.FileSystem.Watcher.dll", 577 | "build/netstandard2.0/ref/System.IO.FileSystem.dll", 578 | "build/netstandard2.0/ref/System.IO.IsolatedStorage.dll", 579 | "build/netstandard2.0/ref/System.IO.MemoryMappedFiles.dll", 580 | "build/netstandard2.0/ref/System.IO.Pipes.dll", 581 | "build/netstandard2.0/ref/System.IO.UnmanagedMemoryStream.dll", 582 | "build/netstandard2.0/ref/System.IO.dll", 583 | "build/netstandard2.0/ref/System.Linq.Expressions.dll", 584 | "build/netstandard2.0/ref/System.Linq.Parallel.dll", 585 | "build/netstandard2.0/ref/System.Linq.Queryable.dll", 586 | "build/netstandard2.0/ref/System.Linq.dll", 587 | "build/netstandard2.0/ref/System.Net.Http.dll", 588 | "build/netstandard2.0/ref/System.Net.NameResolution.dll", 589 | "build/netstandard2.0/ref/System.Net.NetworkInformation.dll", 590 | "build/netstandard2.0/ref/System.Net.Ping.dll", 591 | "build/netstandard2.0/ref/System.Net.Primitives.dll", 592 | "build/netstandard2.0/ref/System.Net.Requests.dll", 593 | "build/netstandard2.0/ref/System.Net.Security.dll", 594 | "build/netstandard2.0/ref/System.Net.Sockets.dll", 595 | "build/netstandard2.0/ref/System.Net.WebHeaderCollection.dll", 596 | "build/netstandard2.0/ref/System.Net.WebSockets.Client.dll", 597 | "build/netstandard2.0/ref/System.Net.WebSockets.dll", 598 | "build/netstandard2.0/ref/System.Net.dll", 599 | "build/netstandard2.0/ref/System.Numerics.dll", 600 | "build/netstandard2.0/ref/System.ObjectModel.dll", 601 | "build/netstandard2.0/ref/System.Reflection.Extensions.dll", 602 | "build/netstandard2.0/ref/System.Reflection.Primitives.dll", 603 | "build/netstandard2.0/ref/System.Reflection.dll", 604 | "build/netstandard2.0/ref/System.Resources.Reader.dll", 605 | "build/netstandard2.0/ref/System.Resources.ResourceManager.dll", 606 | "build/netstandard2.0/ref/System.Resources.Writer.dll", 607 | "build/netstandard2.0/ref/System.Runtime.CompilerServices.VisualC.dll", 608 | "build/netstandard2.0/ref/System.Runtime.Extensions.dll", 609 | "build/netstandard2.0/ref/System.Runtime.Handles.dll", 610 | "build/netstandard2.0/ref/System.Runtime.InteropServices.RuntimeInformation.dll", 611 | "build/netstandard2.0/ref/System.Runtime.InteropServices.dll", 612 | "build/netstandard2.0/ref/System.Runtime.Numerics.dll", 613 | "build/netstandard2.0/ref/System.Runtime.Serialization.Formatters.dll", 614 | "build/netstandard2.0/ref/System.Runtime.Serialization.Json.dll", 615 | "build/netstandard2.0/ref/System.Runtime.Serialization.Primitives.dll", 616 | "build/netstandard2.0/ref/System.Runtime.Serialization.Xml.dll", 617 | "build/netstandard2.0/ref/System.Runtime.Serialization.dll", 618 | "build/netstandard2.0/ref/System.Runtime.dll", 619 | "build/netstandard2.0/ref/System.Security.Claims.dll", 620 | "build/netstandard2.0/ref/System.Security.Cryptography.Algorithms.dll", 621 | "build/netstandard2.0/ref/System.Security.Cryptography.Csp.dll", 622 | "build/netstandard2.0/ref/System.Security.Cryptography.Encoding.dll", 623 | "build/netstandard2.0/ref/System.Security.Cryptography.Primitives.dll", 624 | "build/netstandard2.0/ref/System.Security.Cryptography.X509Certificates.dll", 625 | "build/netstandard2.0/ref/System.Security.Principal.dll", 626 | "build/netstandard2.0/ref/System.Security.SecureString.dll", 627 | "build/netstandard2.0/ref/System.ServiceModel.Web.dll", 628 | "build/netstandard2.0/ref/System.Text.Encoding.Extensions.dll", 629 | "build/netstandard2.0/ref/System.Text.Encoding.dll", 630 | "build/netstandard2.0/ref/System.Text.RegularExpressions.dll", 631 | "build/netstandard2.0/ref/System.Threading.Overlapped.dll", 632 | "build/netstandard2.0/ref/System.Threading.Tasks.Parallel.dll", 633 | "build/netstandard2.0/ref/System.Threading.Tasks.dll", 634 | "build/netstandard2.0/ref/System.Threading.Thread.dll", 635 | "build/netstandard2.0/ref/System.Threading.ThreadPool.dll", 636 | "build/netstandard2.0/ref/System.Threading.Timer.dll", 637 | "build/netstandard2.0/ref/System.Threading.dll", 638 | "build/netstandard2.0/ref/System.Transactions.dll", 639 | "build/netstandard2.0/ref/System.ValueTuple.dll", 640 | "build/netstandard2.0/ref/System.Web.dll", 641 | "build/netstandard2.0/ref/System.Windows.dll", 642 | "build/netstandard2.0/ref/System.Xml.Linq.dll", 643 | "build/netstandard2.0/ref/System.Xml.ReaderWriter.dll", 644 | "build/netstandard2.0/ref/System.Xml.Serialization.dll", 645 | "build/netstandard2.0/ref/System.Xml.XDocument.dll", 646 | "build/netstandard2.0/ref/System.Xml.XPath.XDocument.dll", 647 | "build/netstandard2.0/ref/System.Xml.XPath.dll", 648 | "build/netstandard2.0/ref/System.Xml.XmlDocument.dll", 649 | "build/netstandard2.0/ref/System.Xml.XmlSerializer.dll", 650 | "build/netstandard2.0/ref/System.Xml.dll", 651 | "build/netstandard2.0/ref/System.dll", 652 | "build/netstandard2.0/ref/mscorlib.dll", 653 | "build/netstandard2.0/ref/netstandard.dll", 654 | "build/netstandard2.0/ref/netstandard.xml", 655 | "lib/netstandard1.0/_._", 656 | "netstandard.library.2.0.0.nupkg.sha512", 657 | "netstandard.library.nuspec" 658 | ] 659 | } 660 | }, 661 | "projectFileDependencyGroups": { 662 | ".NETCoreApp,Version=v2.0": [ 663 | "Microsoft.NETCore.App >= 2.0.0" 664 | ] 665 | }, 666 | "packageFolders": { 667 | "C:\\Users\\Cod3r\\.nuget\\packages\\": {}, 668 | "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder": {} 669 | }, 670 | "project": { 671 | "version": "1.0.0", 672 | "restore": { 673 | "projectUniqueName": "C:\\Users\\Cod3r\\source\\repos\\CursoCSharp\\Encapsulamento\\Encapsulamento.csproj", 674 | "projectName": "Encapsulamento", 675 | "projectPath": "C:\\Users\\Cod3r\\source\\repos\\CursoCSharp\\Encapsulamento\\Encapsulamento.csproj", 676 | "packagesPath": "C:\\Users\\Cod3r\\.nuget\\packages\\", 677 | "outputPath": "C:\\Users\\Cod3r\\source\\repos\\CursoCSharp\\Encapsulamento\\obj\\", 678 | "projectStyle": "PackageReference", 679 | "fallbackFolders": [ 680 | "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" 681 | ], 682 | "configFilePaths": [ 683 | "C:\\Users\\Cod3r\\AppData\\Roaming\\NuGet\\NuGet.Config", 684 | "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" 685 | ], 686 | "originalTargetFrameworks": [ 687 | "netcoreapp2.0" 688 | ], 689 | "sources": { 690 | "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, 691 | "https://api.nuget.org/v3/index.json": {} 692 | }, 693 | "frameworks": { 694 | "netcoreapp2.0": { 695 | "projectReferences": {} 696 | } 697 | }, 698 | "warningProperties": { 699 | "warnAsError": [ 700 | "NU1605" 701 | ] 702 | } 703 | }, 704 | "frameworks": { 705 | "netcoreapp2.0": { 706 | "dependencies": { 707 | "Microsoft.NETCore.App": { 708 | "suppressParent": "All", 709 | "target": "Package", 710 | "version": "[2.0.0, )", 711 | "autoReferenced": true 712 | } 713 | }, 714 | "imports": [ 715 | "net461" 716 | ], 717 | "assetTargetFallback": true, 718 | "warn": true 719 | } 720 | } 721 | } 722 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Curso C# - Cod3r 2 | --------------------------------------------------------------------------------