Skip to content

Commit

Permalink
Illustration on the topic Introduction To Datatypes
Browse files Browse the repository at this point in the history
  • Loading branch information
Iammurphyleo committed Jan 21, 2025
1 parent 5398e28 commit 959aef6
Show file tree
Hide file tree
Showing 29 changed files with 397 additions and 0 deletions.
Binary file not shown.
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,37 @@
{
"Version": 1,
"WorkspaceRootPath": "C:\\Users\\DADA\\Desktop\\PrimitiveAndNonPrimitiveTypes\\",
"Documents": [
{
"AbsoluteMoniker": "D:0:0:{F8EBBE66-B610-455C-B3A7-5306E143E0D1}|PrimitiveAndNonPrimitiveTypes.csproj|c:\\users\\dada\\desktop\\primitiveandnonprimitivetypes\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{F8EBBE66-B610-455C-B3A7-5306E143E0D1}|PrimitiveAndNonPrimitiveTypes.csproj|solutionrelative:program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
}
],
"DocumentGroupContainers": [
{
"Orientation": 0,
"VerticalTabListWidth": 256,
"DocumentGroups": [
{
"DockedWidth": 200,
"SelectedChildIndex": 0,
"Children": [
{
"$type": "Document",
"DocumentIndex": 0,
"Title": "Program.cs",
"DocumentMoniker": "C:\\Users\\DADA\\Desktop\\PrimitiveAndNonPrimitiveTypes\\Program.cs",
"RelativeDocumentMoniker": "Program.cs",
"ToolTip": "C:\\Users\\DADA\\Desktop\\PrimitiveAndNonPrimitiveTypes\\Program.cs",
"RelativeToolTip": "Program.cs",
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-01-20T20:50:35.422Z",
"EditorCaption": ""
}
]
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"Version": 1,
"WorkspaceRootPath": "C:\\Users\\DADA\\Desktop\\PrimitiveAndNonPrimitiveTypes\\",
"Documents": [
{
"AbsoluteMoniker": "D:0:0:{F8EBBE66-B610-455C-B3A7-5306E143E0D1}|PrimitiveAndNonPrimitiveTypes.csproj|c:\\users\\dada\\desktop\\primitiveandnonprimitivetypes\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{F8EBBE66-B610-455C-B3A7-5306E143E0D1}|PrimitiveAndNonPrimitiveTypes.csproj|solutionrelative:program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
}
],
"DocumentGroupContainers": [
{
"Orientation": 0,
"VerticalTabListWidth": 256,
"DocumentGroups": [
{
"DockedWidth": 200,
"SelectedChildIndex": 0,
"Children": [
{
"$type": "Document",
"DocumentIndex": 0,
"Title": "Program.cs",
"DocumentMoniker": "C:\\Users\\DADA\\Desktop\\PrimitiveAndNonPrimitiveTypes\\Program.cs",
"RelativeDocumentMoniker": "Program.cs",
"ToolTip": "C:\\Users\\DADA\\Desktop\\PrimitiveAndNonPrimitiveTypes\\Program.cs",
"RelativeToolTip": "Program.cs",
"ViewState": "AgIAAAIAAAAAAAAAAAAAAAIAAAAvAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-01-20T20:50:35.422Z",
"EditorCaption": ""
}
]
}
]
}
]
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
10 changes: 10 additions & 0 deletions PrimitiveAndNonPrimitiveTypes/PrimitiveAndNonPrimitiveTypes.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

</Project>
22 changes: 22 additions & 0 deletions PrimitiveAndNonPrimitiveTypes/PrimitiveAndNonPrimitiveTypes.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.12.35506.116 d17.12
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PrimitiveAndNonPrimitiveTypes", "PrimitiveAndNonPrimitiveTypes.csproj", "{F8EBBE66-B610-455C-B3A7-5306E143E0D1}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{F8EBBE66-B610-455C-B3A7-5306E143E0D1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F8EBBE66-B610-455C-B3A7-5306E143E0D1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F8EBBE66-B610-455C-B3A7-5306E143E0D1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F8EBBE66-B610-455C-B3A7-5306E143E0D1}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
11 changes: 11 additions & 0 deletions PrimitiveAndNonPrimitiveTypes/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@


//Outline of todays class discussion (20/1/2025)

//What are primitive Types
//What are non-primitive Types
//Differences between primitive types and non primitive types
//Why Data Type
//Breaking Data Type into value types and reference types
//Example of value types and reference types with indepth illustrations
//Insight into computer memory (Stack and heap) with respect into value type and reference type
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")]
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// 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("PrimitiveAndNonPrimitiveTypes")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+5398e281fb84437e72ad236f0a45d02d0fd7aa7c")]
[assembly: System.Reflection.AssemblyProductAttribute("PrimitiveAndNonPrimitiveTypes")]
[assembly: System.Reflection.AssemblyTitleAttribute("PrimitiveAndNonPrimitiveTypes")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

// Generated by the MSBuild WriteCodeFragment class.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
6f221205dd801cc584837d7eb461b18800a6fc3491ce5dc19c56aee3d464748e
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
is_global = true
build_property.TargetFramework = net8.0
build_property.TargetPlatformMinVersion =
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = PrimitiveAndNonPrimitiveTypes
build_property.ProjectDir = C:\Users\DADA\Desktop\CLHRepo\InstructorsFilesAndReports\PrimitiveAndNonPrimitiveTypes\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =
build_property.EffectiveAnalysisLevelStyle = 8.0
build_property.EnableCodeStyleSeverity =
Original file line number Diff line number Diff line change
@@ -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.
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
{
"format": 1,
"restore": {
"C:\\Users\\DADA\\Desktop\\PrimitiveAndNonPrimitiveTypes\\PrimitiveAndNonPrimitiveTypes.csproj": {}
},
"projects": {
"C:\\Users\\DADA\\Desktop\\PrimitiveAndNonPrimitiveTypes\\PrimitiveAndNonPrimitiveTypes.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\DADA\\Desktop\\PrimitiveAndNonPrimitiveTypes\\PrimitiveAndNonPrimitiveTypes.csproj",
"projectName": "PrimitiveAndNonPrimitiveTypes",
"projectPath": "C:\\Users\\DADA\\Desktop\\PrimitiveAndNonPrimitiveTypes\\PrimitiveAndNonPrimitiveTypes.csproj",
"packagesPath": "C:\\Users\\DADA\\.nuget\\packages\\",
"outputPath": "C:\\Users\\DADA\\Desktop\\PrimitiveAndNonPrimitiveTypes\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\DADA\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net8.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "all"
},
"SdkAnalysisLevel": "9.0.100"
},
"frameworks": {
"net8.0": {
"targetAlias": "net8.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.100/PortableRuntimeIdentifierGraph.json"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?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)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\DADA\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.12.1</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\DADA\.nuget\packages\" />
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -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" />
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")]
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// 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("PrimitiveAndNonPrimitiveTypes")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+5398e281fb84437e72ad236f0a45d02d0fd7aa7c")]
[assembly: System.Reflection.AssemblyProductAttribute("PrimitiveAndNonPrimitiveTypes")]
[assembly: System.Reflection.AssemblyTitleAttribute("PrimitiveAndNonPrimitiveTypes")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

// Generated by the MSBuild WriteCodeFragment class.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fd92297c3f84bf3be5f323ad4b859611fe149d95cafd416f7fd0214d20e53c4a
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
is_global = true
build_property.TargetFramework = net8.0
build_property.TargetPlatformMinVersion =
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = PrimitiveAndNonPrimitiveTypes
build_property.ProjectDir = C:\Users\DADA\Desktop\CLHRepo\InstructorsFilesAndReports\PrimitiveAndNonPrimitiveTypes\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =
build_property.EffectiveAnalysisLevelStyle = 8.0
build_property.EnableCodeStyleSeverity =
Original file line number Diff line number Diff line change
@@ -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.
Loading

0 comments on commit 959aef6

Please sign in to comment.