Added initial version of package and code.
This commit is contained in:
16
ExtraConsole.Net.Example/ExtraConsole.Net.Example.csproj
Normal file
16
ExtraConsole.Net.Example/ExtraConsole.Net.Example.csproj
Normal file
@@ -0,0 +1,16 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<ImplicitUsings>disable</ImplicitUsings>
|
||||
<Nullable>disable</Nullable>
|
||||
<AssemblyName>MontoyaTech.ExtraConsole.Net.Example</AssemblyName>
|
||||
<RootNamespace>MontoyaTech.ExtraConsole.Net.Example</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\ExtraConsole.Net\ExtraConsole.Net.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
18
ExtraConsole.Net.Example/Program.cs
Normal file
18
ExtraConsole.Net.Example/Program.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
|
||||
namespace MontoyaTech.ExtraConsole.Net.Example
|
||||
{
|
||||
internal class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
Console.WriteLine("Hello, World!");
|
||||
|
||||
var console2 = new ExtraConsole();
|
||||
console2.Open();
|
||||
console2.WriteLine("Hello second console!");
|
||||
|
||||
Console.ReadLine();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user