Added initial version of package and code.

This commit is contained in:
2024-09-11 18:20:22 -07:00
parent d58cedeffc
commit 4ccee8afb3
8 changed files with 483 additions and 0 deletions

View 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>

View 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();
}
}
}