lab5, pt2

This commit is contained in:
2022-10-13 13:03:15 -05:00
parent 886cae5684
commit 97a084391c
163 changed files with 1446 additions and 52 deletions

25
console/Program.cs Normal file
View File

@@ -0,0 +1,25 @@
// See https://aka.ms/new-console-template for more information
/*
string stringNumber = "40";
Console.WriteLine("stringNumber is a " + stringNumber.GetType() + ", its value is " + stringNumber);
int stringInt = int.Parse(stringNumber);
Console.WriteLine("stringInt is a " + stringInt.GetType() + ", its value is " + stringInt);
*/
string input;
List<string> inputList = new List<string>();
int i = 0;
while (i != 5) {
Console.Write("Enter a string: ");
input = Console.ReadLine();
inputList.Add(input);
i++;
}
i = 0;
while (i != 5) {
Console.WriteLine(inputList[i]);
i++;
}

BIN
console/bin/Debug/net6.0/console Executable file

Binary file not shown.

View File

@@ -0,0 +1,23 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v6.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v6.0": {
"console/1.0.0": {
"runtime": {
"console.dll": {}
}
}
}
},
"libraries": {
"console/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,9 @@
{
"runtimeOptions": {
"tfm": "net6.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "6.0.0"
}
}
}

Binary file not shown.

10
console/console.csproj Normal file
View File

@@ -0,0 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>

View File

@@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = "")]

BIN
console/obj/Debug/net6.0/apphost Executable file

Binary file not shown.

View File

@@ -0,0 +1,22 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("console")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("console")]
[assembly: System.Reflection.AssemblyTitleAttribute("console")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Generated by the MSBuild WriteCodeFragment class.

View File

@@ -0,0 +1 @@
da23444c5a7fa993a9b0a271f7b6651786e7b89c

View File

@@ -0,0 +1,10 @@
is_global = true
build_property.TargetFramework = net6.0
build_property.TargetPlatformMinVersion =
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = console
build_property.ProjectDir = /media/DataEXT4/Documents/ASDV C#/console/

View File

@@ -0,0 +1,8 @@
// <auto-generated/>
global using global::System;
global using global::System.Collections.Generic;
global using global::System.IO;
global using global::System.Linq;
global using global::System.Net.Http;
global using global::System.Threading;
global using global::System.Threading.Tasks;

Binary file not shown.

View File

@@ -0,0 +1 @@
57ff1efa42db2e4fb4554d9755ffe65131045882

View File

@@ -0,0 +1,15 @@
/media/DataEXT4/Documents/ASDV C#/console/bin/Debug/net6.0/console
/media/DataEXT4/Documents/ASDV C#/console/bin/Debug/net6.0/console.deps.json
/media/DataEXT4/Documents/ASDV C#/console/bin/Debug/net6.0/console.runtimeconfig.json
/media/DataEXT4/Documents/ASDV C#/console/bin/Debug/net6.0/console.dll
/media/DataEXT4/Documents/ASDV C#/console/bin/Debug/net6.0/ref/console.dll
/media/DataEXT4/Documents/ASDV C#/console/bin/Debug/net6.0/console.pdb
/media/DataEXT4/Documents/ASDV C#/console/obj/Debug/net6.0/console.csproj.AssemblyReference.cache
/media/DataEXT4/Documents/ASDV C#/console/obj/Debug/net6.0/console.GeneratedMSBuildEditorConfig.editorconfig
/media/DataEXT4/Documents/ASDV C#/console/obj/Debug/net6.0/console.AssemblyInfoInputs.cache
/media/DataEXT4/Documents/ASDV C#/console/obj/Debug/net6.0/console.AssemblyInfo.cs
/media/DataEXT4/Documents/ASDV C#/console/obj/Debug/net6.0/console.csproj.CoreCompileInputs.cache
/media/DataEXT4/Documents/ASDV C#/console/obj/Debug/net6.0/console.dll
/media/DataEXT4/Documents/ASDV C#/console/obj/Debug/net6.0/ref/console.dll
/media/DataEXT4/Documents/ASDV C#/console/obj/Debug/net6.0/console.pdb
/media/DataEXT4/Documents/ASDV C#/console/obj/Debug/net6.0/console.genruntimeconfig.cache

Binary file not shown.

View File

@@ -0,0 +1 @@
c59121b387e0f7d4ede6c76d96e5bc080be91ee8

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,66 @@
{
"format": 1,
"restore": {
"/media/DataEXT4/Documents/ASDV C#/console/console.csproj": {}
},
"projects": {
"/media/DataEXT4/Documents/ASDV C#/console/console.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "/media/DataEXT4/Documents/ASDV C#/console/console.csproj",
"projectName": "console",
"projectPath": "/media/DataEXT4/Documents/ASDV C#/console/console.csproj",
"packagesPath": "/home/caleb/.nuget/packages/",
"outputPath": "/media/DataEXT4/Documents/ASDV C#/console/obj/",
"projectStyle": "PackageReference",
"configFilePaths": [
"/home/caleb/.nuget/NuGet/NuGet.Config"
],
"originalTargetFrameworks": [
"net6.0"
],
"sources": {
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net6.0": {
"targetAlias": "net6.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net6.0": {
"targetAlias": "net6.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48"
],
"assetTargetFallback": true,
"warn": true,
"downloadDependencies": [
{
"name": "Microsoft.AspNetCore.App.Ref",
"version": "[6.0.9, 6.0.9]"
}
],
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/6.0.109/RuntimeIdentifierGraph.json"
}
}
}
}
}

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">/home/caleb/.nuget/packages/</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/home/caleb/.nuget/packages/</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.0.2</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="/home/caleb/.nuget/packages/" />
</ItemGroup>
</Project>

View File

@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />

View File

@@ -0,0 +1,71 @@
{
"version": 3,
"targets": {
"net6.0": {}
},
"libraries": {},
"projectFileDependencyGroups": {
"net6.0": []
},
"packageFolders": {
"/home/caleb/.nuget/packages/": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "/media/DataEXT4/Documents/ASDV C#/console/console.csproj",
"projectName": "console",
"projectPath": "/media/DataEXT4/Documents/ASDV C#/console/console.csproj",
"packagesPath": "/home/caleb/.nuget/packages/",
"outputPath": "/media/DataEXT4/Documents/ASDV C#/console/obj/",
"projectStyle": "PackageReference",
"configFilePaths": [
"/home/caleb/.nuget/NuGet/NuGet.Config"
],
"originalTargetFrameworks": [
"net6.0"
],
"sources": {
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net6.0": {
"targetAlias": "net6.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net6.0": {
"targetAlias": "net6.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48"
],
"assetTargetFallback": true,
"warn": true,
"downloadDependencies": [
{
"name": "Microsoft.AspNetCore.App.Ref",
"version": "[6.0.9, 6.0.9]"
}
],
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/6.0.109/RuntimeIdentifierGraph.json"
}
}
}
}

View File

@@ -0,0 +1,10 @@
{
"version": 2,
"dgSpecHash": "hyhWTd8O8Ht8xDsogzeFzUjpUqBadESWjBhmv0yaRI0Tk+XcTta65cOhK1T59mugDfPZPWtjpT2YznOK+EgjNg==",
"success": true,
"projectFilePath": "/media/DataEXT4/Documents/ASDV C#/console/console.csproj",
"expectedPackageFiles": [
"/home/caleb/.nuget/packages/microsoft.aspnetcore.app.ref/6.0.9/microsoft.aspnetcore.app.ref.6.0.9.nupkg.sha512"
],
"logs": []
}