Processing Ajax...
Save 25% on our desktop apps during our Black Friday/Cyber Monday sale!Save 25% on our desktop apps during our Black Friday/Cyber Monday sale, including DisplayFusion, ClipboardFusion, FileSeek, LogFusion, TrayStatus, and VoiceBot!Save 25% on our desktop apps during our Black Friday/Cyber Monday sale!

Title
Close Dialog

Message

Confirm
Close Dialog

Confirm
Close Dialog

C# Language Test: 10.0

Description
C# language tests for v10.0.
Language
C#.net
Minimum Version
Created By
Jon Tackabury (BFS)
Contributors
-
Date Created
Mar 21, 2022
Date Last Modified
Mar 21, 2022

Scripted Function (Macro) Code

using System;
using System.Drawing;

public static class DisplayFusionFunction
{
	public static void Run(IntPtr windowHandle)
	{
		Point1 point1_1 = new();
		Point1 point1_2 = new(1, 2, 3);
		
		Point2 point2 = new();
	}
	
	public readonly record struct Point1(double X, double Y, double Z);

	public record struct Point2
	{
	    public double X {  get; init; }
	    public double Y {  get; init; }
	    public double Z {  get; init; }
	}
}