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: 7.0

Description
C# language tests for v7.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)
	{
		Test1();
		Test2();
		Test3(out int test);
	}
	
	private static (string, string, string) Test1()
	{
		return new("Test1", "Test2", "Test3");
	}
	
	private static (string val1, string val2, string val3) Test2()
	{
		return new("Test1", "Test2", "Test3");
	}
	
	private static void Test3(out int test)
	{
		test = 6;
	}
}