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 not shown.
6 changes: 6 additions & 0 deletions .vs/VSWorkspaceState.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"ExpandedNodes": [
""
],
"PreviewInSolutionExplorer": false
}
Binary file added .vs/Variables-Exercise/v17/.wsuo
Binary file not shown.
Binary file modified .vs/VariablesExercise/DesignTimeBuild/.dtbcache.v2
Binary file not shown.
Binary file not shown.
Binary file added .vs/VariablesExercise/v17/.futdcache.v2
Binary file not shown.
Binary file modified .vs/VariablesExercise/v17/.suo
Binary file not shown.
23 changes: 21 additions & 2 deletions VariablesExercise/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,27 @@
public class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello, World!");
{
/*
* Assignment: declare and initialize variables for the following types:
* string
* int
* char
* bool
* double
* decimal
*/

string dogName = "Ralph";
int dogAge = 9;
char firstInital = dogName[0];
double foodAmount = 0.25;
decimal milesWalkDaily = 1.50m;
bool truth = false;


Console.WriteLine($"My dog's name is {dogName}, He is {dogAge} years old. He eats {foodAmount} cup of food per meal. We go for a walk of {milesWalkDaily} daily. This above statment is all true: {truth}");
Console.ReadLine();
}
}
}
23 changes: 23 additions & 0 deletions VariablesExercise/bin/Debug/net6.0/VariablesExercise.deps.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v6.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v6.0": {
"VariablesExercise/1.0.0": {
"runtime": {
"VariablesExercise.dll": {}
}
}
}
},
"libraries": {
"VariablesExercise/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"runtimeOptions": {
"tfm": "net6.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "6.0.0"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
[assembly: System.Reflection.AssemblyCompanyAttribute("VariablesExercise")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+4b34bde4a43c9b054b760a9b9d11923d55adbe7e")]
[assembly: System.Reflection.AssemblyProductAttribute("VariablesExercise")]
[assembly: System.Reflection.AssemblyTitleAttribute("VariablesExercise")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
a52ec651d6e53fca936a4550b38ffb019810bac2
dbadbd48f3750ee620488337de4e89d4fe8347f0cae56b322e537c51033215c8
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = VariablesExercise
build_property.ProjectDir = C:\Users\andre\OneDrive\Desktop\new\VariablesExercise\VariablesExercise\
build_property.ProjectDir = D:\MyFiles\CSharp\TC\repos\Variables-Exercise\VariablesExercise\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
02fcc4fc6ea6c8d7032534738c824c198e3e2923066d3e9313b88449f377d95b
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
D:\MyFiles\CSharp\TC\repos\Variables-Exercise\VariablesExercise\bin\Debug\net6.0\VariablesExercise.exe
D:\MyFiles\CSharp\TC\repos\Variables-Exercise\VariablesExercise\bin\Debug\net6.0\VariablesExercise.deps.json
D:\MyFiles\CSharp\TC\repos\Variables-Exercise\VariablesExercise\bin\Debug\net6.0\VariablesExercise.runtimeconfig.json
D:\MyFiles\CSharp\TC\repos\Variables-Exercise\VariablesExercise\bin\Debug\net6.0\VariablesExercise.dll
D:\MyFiles\CSharp\TC\repos\Variables-Exercise\VariablesExercise\bin\Debug\net6.0\VariablesExercise.pdb
D:\MyFiles\CSharp\TC\repos\Variables-Exercise\VariablesExercise\obj\Debug\net6.0\VariablesExercise.GeneratedMSBuildEditorConfig.editorconfig
D:\MyFiles\CSharp\TC\repos\Variables-Exercise\VariablesExercise\obj\Debug\net6.0\VariablesExercise.AssemblyInfoInputs.cache
D:\MyFiles\CSharp\TC\repos\Variables-Exercise\VariablesExercise\obj\Debug\net6.0\VariablesExercise.AssemblyInfo.cs
D:\MyFiles\CSharp\TC\repos\Variables-Exercise\VariablesExercise\obj\Debug\net6.0\VariablesExercise.csproj.CoreCompileInputs.cache
D:\MyFiles\CSharp\TC\repos\Variables-Exercise\VariablesExercise\obj\Debug\net6.0\VariablesExercise.sourcelink.json
D:\MyFiles\CSharp\TC\repos\Variables-Exercise\VariablesExercise\obj\Debug\net6.0\VariablesExercise.dll
D:\MyFiles\CSharp\TC\repos\Variables-Exercise\VariablesExercise\obj\Debug\net6.0\refint\VariablesExercise.dll
D:\MyFiles\CSharp\TC\repos\Variables-Exercise\VariablesExercise\obj\Debug\net6.0\VariablesExercise.pdb
D:\MyFiles\CSharp\TC\repos\Variables-Exercise\VariablesExercise\obj\Debug\net6.0\VariablesExercise.genruntimeconfig.cache
D:\MyFiles\CSharp\TC\repos\Variables-Exercise\VariablesExercise\obj\Debug\net6.0\ref\VariablesExercise.dll
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9906805b1efe1535fb5213102980fbe3f4ed695c4c79ea28dd8fe3db628ea27d
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"documents":{"D:\\MyFiles\\CSharp\\TC\\repos\\Variables-Exercise\\*":"https://raw.githubusercontent.com/dyoung1006/Variables-Exercise/4b34bde4a43c9b054b760a9b9d11923d55adbe7e/*"}}
Binary file added VariablesExercise/obj/Debug/net6.0/apphost.exe
Binary file not shown.
Binary file not shown.
Binary file not shown.
41 changes: 28 additions & 13 deletions VariablesExercise/obj/VariablesExercise.csproj.nuget.dgspec.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,20 @@
{
"format": 1,
"restore": {
"C:\\Users\\andre\\OneDrive\\Desktop\\new\\VariablesExercise\\VariablesExercise\\VariablesExercise.csproj": {}
"D:\\MyFiles\\CSharp\\TC\\repos\\Variables-Exercise\\VariablesExercise\\VariablesExercise.csproj": {}
},
"projects": {
"C:\\Users\\andre\\OneDrive\\Desktop\\new\\VariablesExercise\\VariablesExercise\\VariablesExercise.csproj": {
"D:\\MyFiles\\CSharp\\TC\\repos\\Variables-Exercise\\VariablesExercise\\VariablesExercise.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\andre\\OneDrive\\Desktop\\new\\VariablesExercise\\VariablesExercise\\VariablesExercise.csproj",
"projectUniqueName": "D:\\MyFiles\\CSharp\\TC\\repos\\Variables-Exercise\\VariablesExercise\\VariablesExercise.csproj",
"projectName": "VariablesExercise",
"projectPath": "C:\\Users\\andre\\OneDrive\\Desktop\\new\\VariablesExercise\\VariablesExercise\\VariablesExercise.csproj",
"packagesPath": "C:\\Users\\andre\\.nuget\\packages\\",
"outputPath": "C:\\Users\\andre\\OneDrive\\Desktop\\new\\VariablesExercise\\VariablesExercise\\obj\\",
"projectPath": "D:\\MyFiles\\CSharp\\TC\\repos\\Variables-Exercise\\VariablesExercise\\VariablesExercise.csproj",
"packagesPath": "C:\\Users\\dyoun\\.nuget\\packages\\",
"outputPath": "D:\\MyFiles\\CSharp\\TC\\repos\\Variables-Exercise\\VariablesExercise\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\andre\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Users\\dyoun\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
Expand Down Expand Up @@ -49,16 +45,35 @@
"net47",
"net471",
"net472",
"net48"
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"downloadDependencies": [
{
"name": "Microsoft.AspNetCore.App.Ref",
"version": "[6.0.29, 6.0.29]"
},
{
"name": "Microsoft.NETCore.App.Host.win-x64",
"version": "[6.0.29, 6.0.29]"
},
{
"name": "Microsoft.NETCore.App.Ref",
"version": "[6.0.29, 6.0.29]"
},
{
"name": "Microsoft.WindowsDesktop.App.Ref",
"version": "[6.0.29, 6.0.29]"
}
],
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.304\\RuntimeIdentifierGraph.json"
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.204\\RuntimeIdentifierGraph.json"
}
}
}
Expand Down
7 changes: 3 additions & 4 deletions VariablesExercise/obj/VariablesExercise.csproj.nuget.g.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\andre\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\dyoun\.nuget\packages\</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.2.1</NuGetToolVersion>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.8.0</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\andre\.nuget\packages\" />
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
<SourceRoot Include="C:\Users\dyoun\.nuget\packages\" />
</ItemGroup>
</Project>
40 changes: 27 additions & 13 deletions VariablesExercise/obj/project.assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,19 @@
"net6.0": []
},
"packageFolders": {
"C:\\Users\\andre\\.nuget\\packages\\": {},
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
"C:\\Users\\dyoun\\.nuget\\packages\\": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\andre\\OneDrive\\Desktop\\new\\VariablesExercise\\VariablesExercise\\VariablesExercise.csproj",
"projectUniqueName": "D:\\MyFiles\\CSharp\\TC\\repos\\Variables-Exercise\\VariablesExercise\\VariablesExercise.csproj",
"projectName": "VariablesExercise",
"projectPath": "C:\\Users\\andre\\OneDrive\\Desktop\\new\\VariablesExercise\\VariablesExercise\\VariablesExercise.csproj",
"packagesPath": "C:\\Users\\andre\\.nuget\\packages\\",
"outputPath": "C:\\Users\\andre\\OneDrive\\Desktop\\new\\VariablesExercise\\VariablesExercise\\obj\\",
"projectPath": "D:\\MyFiles\\CSharp\\TC\\repos\\Variables-Exercise\\VariablesExercise\\VariablesExercise.csproj",
"packagesPath": "C:\\Users\\dyoun\\.nuget\\packages\\",
"outputPath": "D:\\MyFiles\\CSharp\\TC\\repos\\Variables-Exercise\\VariablesExercise\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\andre\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Users\\dyoun\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
Expand Down Expand Up @@ -56,16 +51,35 @@
"net47",
"net471",
"net472",
"net48"
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"downloadDependencies": [
{
"name": "Microsoft.AspNetCore.App.Ref",
"version": "[6.0.29, 6.0.29]"
},
{
"name": "Microsoft.NETCore.App.Host.win-x64",
"version": "[6.0.29, 6.0.29]"
},
{
"name": "Microsoft.NETCore.App.Ref",
"version": "[6.0.29, 6.0.29]"
},
{
"name": "Microsoft.WindowsDesktop.App.Ref",
"version": "[6.0.29, 6.0.29]"
}
],
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.304\\RuntimeIdentifierGraph.json"
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.204\\RuntimeIdentifierGraph.json"
}
}
}
Expand Down
11 changes: 8 additions & 3 deletions VariablesExercise/obj/project.nuget.cache
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
{
"version": 2,
"dgSpecHash": "LvBBp7VsfOWBg6IegftZeGonHeNyRCnR16OBwF2dVkn7HBDG9semQWUDfVrW9BpKZUpU09uazu75lWsd1o6G7w==",
"dgSpecHash": "Tu+1l/83L3PWp+FHzEhVGlVHJsVAUqNLT38TrFVxHQYijyPdd2aHxVkqBsR2eaERkHmzVKPFm+T/gWtbAAr48Q==",
"success": true,
"projectFilePath": "C:\\Users\\andre\\OneDrive\\Desktop\\new\\VariablesExercise\\VariablesExercise\\VariablesExercise.csproj",
"expectedPackageFiles": [],
"projectFilePath": "D:\\MyFiles\\CSharp\\TC\\repos\\Variables-Exercise\\VariablesExercise\\VariablesExercise.csproj",
"expectedPackageFiles": [
"C:\\Users\\dyoun\\.nuget\\packages\\microsoft.windowsdesktop.app.ref\\6.0.29\\microsoft.windowsdesktop.app.ref.6.0.29.nupkg.sha512",
"C:\\Users\\dyoun\\.nuget\\packages\\microsoft.netcore.app.ref\\6.0.29\\microsoft.netcore.app.ref.6.0.29.nupkg.sha512",
"C:\\Users\\dyoun\\.nuget\\packages\\microsoft.aspnetcore.app.ref\\6.0.29\\microsoft.aspnetcore.app.ref.6.0.29.nupkg.sha512",
"C:\\Users\\dyoun\\.nuget\\packages\\microsoft.netcore.app.host.win-x64\\6.0.29\\microsoft.netcore.app.host.win-x64.6.0.29.nupkg.sha512"
],
"logs": []
}