Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/adicionar veiculo #221

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions DesafioFundamentos/Models/Estacionamento.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ public void AdicionarVeiculo()
// TODO: Pedir para o usuário digitar uma placa (ReadLine) e adicionar na lista "veiculos"
// *IMPLEMENTE AQUI*
Console.WriteLine("Digite a placa do veículo para estacionar:");
string placa = Console.ReadLine();

veiculos.Add(placa);
}

public void RemoverVeiculo()
Expand Down
25 changes: 25 additions & 0 deletions trilha-net-fundamentos-desafio.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.5.002.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DesafioFundamentos", "DesafioFundamentos\DesafioFundamentos.csproj", "{25495F6B-0DBF-475E-8EF0-F2D9401D9CCF}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{25495F6B-0DBF-475E-8EF0-F2D9401D9CCF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{25495F6B-0DBF-475E-8EF0-F2D9401D9CCF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{25495F6B-0DBF-475E-8EF0-F2D9401D9CCF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{25495F6B-0DBF-475E-8EF0-F2D9401D9CCF}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {24832F48-F9A0-4DD4-A21D-26DC99E713B2}
EndGlobalSection
EndGlobal