Skip to content

Instantly share code, notes, and snippets.

using System;
namespace Coords
{
public class Coord
{
public double X;
public double Y;
public Coord()
<PropertyGroup>
<!-- update the Windows SDK version to reflect your TargetFramework -->
<CsWinRTWindowsMetadata>10.0.19041.0</CsWinRTWindowsMetadata>
<CsWinRTComponent>true</CsWinRTComponent>
<CsWinRTEnableLogging>true</CsWinRTEnableLogging>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<GeneratedFilesDir Condition="'$(GeneratedFilesDir)'==''">$([MSBuild]::NormalizeDirectory('$(MSBuildProjectDirectory)', '$(IntermediateOutputPath)', 'Generated Files'))</GeneratedFilesDir>
</PropertyGroup>