This repository has been archived on 2022-08-05. You can view files and clone it, but cannot push or open issues or pull requests.
PostCrypt/SimpleTestApp/Program.cs

23 lines
609 B
C#

using System;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
namespace SimpleTestApp
{
internal class Program
{
private static void Main(string[] args)
{
Console.WriteLine("Hello World!");
TestCalcium calc = new TestCalcium();
Console.WriteLine(new string('.', 15) + $"{10 / 4f}, {Console.Out.Encoding}, {calc.Meem() && calc.Test2().Result}");
}
class TestCalcium
{
public bool Meem() => new Random().Next(15) > 7;
public async Task<bool> Test2() => true;
}
}
}