Skip to content

Commit

Permalink
step166 - The Void
Browse files Browse the repository at this point in the history
Learning to use void on method
  • Loading branch information
JonthueM committed Jul 1, 2020
1 parent dfc20e6 commit 66b20a7
Show file tree
Hide file tree
Showing 16 changed files with 182 additions and 0 deletions.
Binary file added step166-TheVoid/.vs/step166-TheVoid/v16/.suo
Binary file not shown.
6 changes: 6 additions & 0 deletions step166-TheVoid/App.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
</startup>
</configuration>
33 changes: 33 additions & 0 deletions step166-TheVoid/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace step166_TheVoid
{
class Program
{
static void Main(string[] args)
{
//Loading the Class
theVoid blackHole = new theVoid();

//Prompt & Store
Console.WriteLine("Random Number Please!");
int numberOne = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Another One!");
int numberTwo = Convert.ToInt32(Console.ReadLine());

//Send, Receive & Print
Console.WriteLine($"You typed {numberOne} x {numberTwo} = ");
theVoid.voidOp(numberOne, numberTwo);



//Keeps it Up
Console.ReadLine();

}
}
}
36 changes: 36 additions & 0 deletions step166-TheVoid/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("step166-TheVoid")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("step166-TheVoid")]
[assembly: AssemblyCopyright("Copyright © 2020")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("d3d85e3b-c7b2-422a-92fe-139e3d42adc2")]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
Binary file added step166-TheVoid/bin/Debug/step166-TheVoid.exe
Binary file not shown.
6 changes: 6 additions & 0 deletions step166-TheVoid/bin/Debug/step166-TheVoid.exe.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
</startup>
</configuration>
Binary file added step166-TheVoid/bin/Debug/step166-TheVoid.pdb
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fd44e17f3ce2ba3ef9e9526edc93f3070c1ccef7
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
C:\Users\conne\OneDrive\Documents\GitHub\The-Tech-Academy-Basic-C-Sharp-Projects\step166-TheVoid\bin\Debug\step166-TheVoid.exe.config
C:\Users\conne\OneDrive\Documents\GitHub\The-Tech-Academy-Basic-C-Sharp-Projects\step166-TheVoid\bin\Debug\step166-TheVoid.exe
C:\Users\conne\OneDrive\Documents\GitHub\The-Tech-Academy-Basic-C-Sharp-Projects\step166-TheVoid\bin\Debug\step166-TheVoid.pdb
C:\Users\conne\OneDrive\Documents\GitHub\The-Tech-Academy-Basic-C-Sharp-Projects\step166-TheVoid\obj\Debug\step166-TheVoid.csprojAssemblyReference.cache
C:\Users\conne\OneDrive\Documents\GitHub\The-Tech-Academy-Basic-C-Sharp-Projects\step166-TheVoid\obj\Debug\step166-TheVoid.csproj.CoreCompileInputs.cache
C:\Users\conne\OneDrive\Documents\GitHub\The-Tech-Academy-Basic-C-Sharp-Projects\step166-TheVoid\obj\Debug\step166-TheVoid.exe
C:\Users\conne\OneDrive\Documents\GitHub\The-Tech-Academy-Basic-C-Sharp-Projects\step166-TheVoid\obj\Debug\step166-TheVoid.pdb
Binary file not shown.
Binary file added step166-TheVoid/obj/Debug/step166-TheVoid.exe
Binary file not shown.
Binary file added step166-TheVoid/obj/Debug/step166-TheVoid.pdb
Binary file not shown.
54 changes: 54 additions & 0 deletions step166-TheVoid/step166-TheVoid.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{D3D85E3B-C7B2-422A-92FE-139E3D42ADC2}</ProjectGuid>
<OutputType>Exe</OutputType>
<RootNamespace>step166_TheVoid</RootNamespace>
<AssemblyName>step166-TheVoid</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="theVoid.cs" />
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
25 changes: 25 additions & 0 deletions step166-TheVoid/step166-TheVoid.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.30011.22
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "step166-TheVoid", "step166-TheVoid.csproj", "{D3D85E3B-C7B2-422A-92FE-139E3D42ADC2}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{D3D85E3B-C7B2-422A-92FE-139E3D42ADC2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D3D85E3B-C7B2-422A-92FE-139E3D42ADC2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D3D85E3B-C7B2-422A-92FE-139E3D42ADC2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D3D85E3B-C7B2-422A-92FE-139E3D42ADC2}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {FC32B77F-D503-4385-8DF8-53FA5F400865}
EndGlobalSection
EndGlobal
14 changes: 14 additions & 0 deletions step166-TheVoid/theVoid.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace step166_TheVoid
{
class theVoid
{
public static void voidOp(int numOne, int numTwo)
{ int sum = numOne * numTwo; Console.WriteLine(sum); }
}
}

0 comments on commit 66b20a7

Please sign in to comment.