Skip to content
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
Binary file not shown.
Binary file modified Portfolio/BookInventory/.vs/BookInventory/v16/.suo
Binary file not shown.
Binary file not shown.
8 changes: 7 additions & 1 deletion Portfolio/BookInventory/BookInventory.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29009.5
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BookInventory", "BookInventory.csproj", "{5D71C890-9506-49CA-B440-315A0961D905}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BookInventory", "BookInventory.csproj", "{5D71C890-9506-49CA-B440-315A0961D905}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CheckpointToDo", "..\CheckpointToDo\CheckpointToDo.csproj", "{1E553BEE-EEE1-47B8-86A1-77D5D5B74BE2}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand All @@ -15,6 +17,10 @@ Global
{5D71C890-9506-49CA-B440-315A0961D905}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5D71C890-9506-49CA-B440-315A0961D905}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5D71C890-9506-49CA-B440-315A0961D905}.Release|Any CPU.Build.0 = Release|Any CPU
{1E553BEE-EEE1-47B8-86A1-77D5D5B74BE2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1E553BEE-EEE1-47B8-86A1-77D5D5B74BE2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1E553BEE-EEE1-47B8-86A1-77D5D5B74BE2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1E553BEE-EEE1-47B8-86A1-77D5D5B74BE2}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
Binary file not shown.
Binary file modified Portfolio/CarLot/.vs/CarLot/DesignTimeBuild/.dtbcache
Binary file not shown.
Binary file modified Portfolio/CarLot/.vs/CarLot/v16/.suo
Binary file not shown.
Binary file modified Portfolio/CarLot/.vs/CarLot/v16/Server/sqlite3/storage.ide
Binary file not shown.
Binary file modified Portfolio/Checkers/.vs/Checkers/v16/.suo
Binary file not shown.
Binary file modified Portfolio/Checkers/.vs/Checkers/v16/Server/sqlite3/storage.ide
Binary file not shown.
Binary file not shown.
Binary file modified Portfolio/GradeBook/.vs/GradeBook/v16/.suo
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
12 changes: 12 additions & 0 deletions Portfolio/ToDoList-Checkpoint2/CheckPoint2SQL.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.2</TargetFramework>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="System.Data.SQLite" Version="1.0.111" />
</ItemGroup>

</Project>
25 changes: 25 additions & 0 deletions Portfolio/ToDoList-Checkpoint2/CheckPoint2SQL.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 16
VisualStudioVersion = 16.0.29009.5
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CheckPoint2SQL", "CheckPoint2SQL.csproj", "{E422FBD7-9A30-4772-B97E-A263C285696C}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{E422FBD7-9A30-4772-B97E-A263C285696C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E422FBD7-9A30-4772-B97E-A263C285696C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E422FBD7-9A30-4772-B97E-A263C285696C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E422FBD7-9A30-4772-B97E-A263C285696C}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {B9668408-58C3-420B-B8E5-724C57F5F419}
EndGlobalSection
EndGlobal
122 changes: 122 additions & 0 deletions Portfolio/ToDoList-Checkpoint2/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
using CheckPoint2SQL;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;

namespace Rextester
{
public class Program
{
public static void Main(string[] args)
{
var ToDoList = new Dictionary<int, ToDoItem>();
string choice;
int i = 1;
int numberToUpdate;
int numberToDelete;

Console.WriteLine();
Console.WriteLine("Welcome to your To-Do List");


do
{
ToDoItem item = new ToDoItem();
Console.Clear();
Console.WriteLine("Welcome to your To-Do List");
Console.WriteLine();
Console.WriteLine("Press enter to start new to-do list item, or enter 'quit' to finish:");
choice = Console.ReadLine().ToLower();

if (choice == "quit")
{
break;
}
else
{

Console.WriteLine("Add a description for the new list item: ");
item.description = Console.ReadLine();
Console.WriteLine("When is this item due?: ");
item.date = Console.ReadLine();
ToDoList.Add(i, item);
i = i + 1;

}

} while (choice != "quit");




do
{
Console.Clear();
Console.WriteLine("Item # | Description | Due Date");
Console.WriteLine("_________________________________");

foreach (var key in ToDoList)
{
Console.WriteLine(key.Key + " | " + key.Value.description + " | " + key.Value.date);

}
Console.WriteLine();
Console.WriteLine("Enter an item number to mark as done, or 0 when you're finished: ");
numberToUpdate = Convert.ToInt32(Console.ReadLine());

if (numberToUpdate >= 1)
{
ToDoList[numberToUpdate].date = ("DONE!");
}
else if (numberToUpdate < 1)
{
break;
}
else
{
Console.WriteLine("Invalid input. Please try again.");
}
} while (numberToUpdate != 0);

do
{
Console.Clear();
Console.WriteLine("Item # | Description | Due Date");
Console.WriteLine("_________________________________");

foreach (var key in ToDoList)
{
Console.WriteLine(key.Key + " | " + key.Value.description + " | " + key.Value.date);

}
Console.WriteLine();
Console.WriteLine("Enter an item number to delete, or 0 to end: ");
numberToDelete = Convert.ToInt32(Console.ReadLine());

if (numberToDelete >= 1)
{
ToDoList.Remove(numberToDelete);
}
else if (numberToDelete < 1)
{
break;
}
else
{
Console.WriteLine("Invalid input. Please try again.");
}
} while (numberToDelete != 0);


}


}
}





25 changes: 25 additions & 0 deletions Portfolio/ToDoList-Checkpoint2/ToDoItem.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace CheckPoint2SQL
{
public class ToDoItem
{

public string description { get; set; }
public string date { get; set; }

public ToDoItem(string Description, string Date)
{

description = Description;
date = Date;
}
public ToDoItem()
{

}
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v2.2",
"signature": "7a61cfc93b4f44a8296d613a3dd99243b04a21c1"
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v2.2": {
"CheckPoint2SQL/1.0.0": {
"dependencies": {
"System.Data.SQLite": "1.0.111"
},
"runtime": {
"CheckPoint2SQL.dll": {}
}
},
"System.Data.SQLite/1.0.111": {
"dependencies": {
"System.Data.SQLite.Core": "1.0.111"
}
},
"System.Data.SQLite.Core/1.0.111": {
"runtime": {
"lib/netstandard2.0/System.Data.SQLite.dll": {
"assemblyVersion": "1.0.111.0",
"fileVersion": "1.0.111.0"
}
},
"runtimeTargets": {
"runtimes/linux-x64/native/netstandard2.0/SQLite.Interop.dll": {
"rid": "linux-x64",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/osx-x64/native/netstandard2.0/SQLite.Interop.dll": {
"rid": "osx-x64",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/win-x64/native/netstandard2.0/SQLite.Interop.dll": {
"rid": "win-x64",
"assetType": "native",
"fileVersion": "1.0.111.0"
},
"runtimes/win-x86/native/netstandard2.0/SQLite.Interop.dll": {
"rid": "win-x86",
"assetType": "native",
"fileVersion": "1.0.111.0"
}
}
}
}
},
"libraries": {
"CheckPoint2SQL/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"System.Data.SQLite/1.0.111": {
"type": "package",
"serviceable": true,
"sha512": "sha512-G6oK5KkT3gHfelwJ9MvBZc9mrO1x1gkpjNfPs1YBWGIQB5reJSmu5lraYC24VRRQpNBH7RIZqPQjqeBGr7CrNw==",
"path": "system.data.sqlite/1.0.111",
"hashPath": "system.data.sqlite.1.0.111.nupkg.sha512"
},
"System.Data.SQLite.Core/1.0.111": {
"type": "package",
"serviceable": true,
"sha512": "sha512-D7Qo3JWUB6epymTVRNaAXt+Y+eh0juGjXb5q8SEp/LBdKJr6a224Mk0HCOemRsXfPIF8ULblPyCbVixUvfbpiw==",
"path": "system.data.sqlite.core/1.0.111",
"hashPath": "system.data.sqlite.core.1.0.111.nupkg.sha512"
}
}
}
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"runtimeOptions": {
"additionalProbingPaths": [
"C:\\Users\\Marlyssa B\\.dotnet\\store\\|arch|\\|tfm|",
"C:\\Users\\Marlyssa B\\.nuget\\packages",
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"runtimeOptions": {
"tfm": "netcoreapp2.2",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "2.2.0"
}
}
}
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[1 CheckPoint2SQL.ToDoItem]
[2 CheckPoint2SQL.ToDoItem]
[3 CheckPoint2SQL.ToDoItem]
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"version": 1,
"dgSpecHash": "zkOtyiMF/HNom2dy3hJArtor/pyA0h2HDLcxc7pJ/YLmp0P/V3xWIfGb34ZO0T4nsvzR3D6+u6duk3H61NOZPQ==",
"success": true
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"format": 1,
"restore": {
"C:\\Users\\Marlyssa B\\source\\repos\\CheckPoint2SQL\\CheckPoint2SQL.csproj": {}
},
"projects": {
"C:\\Users\\Marlyssa B\\source\\repos\\CheckPoint2SQL\\CheckPoint2SQL.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\Marlyssa B\\source\\repos\\CheckPoint2SQL\\CheckPoint2SQL.csproj",
"projectName": "CheckPoint2SQL",
"projectPath": "C:\\Users\\Marlyssa B\\source\\repos\\CheckPoint2SQL\\CheckPoint2SQL.csproj",
"packagesPath": "C:\\Users\\Marlyssa B\\.nuget\\packages\\",
"outputPath": "C:\\Users\\Marlyssa B\\source\\repos\\CheckPoint2SQL\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
],
"configFilePaths": [
"C:\\Users\\Marlyssa B\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"netcoreapp2.2"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"netcoreapp2.2": {
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"netcoreapp2.2": {
"dependencies": {
"Microsoft.NETCore.App": {
"suppressParent": "All",
"target": "Package",
"version": "[2.2.0, )",
"autoReferenced": true
},
"System.Data.SQLite": {
"target": "Package",
"version": "[1.0.111, )"
}
},
"imports": [
"net461"
],
"assetTargetFallback": true,
"warn": true
}
}
}
}
}
Loading