#include "..\..\..\..\Includes\DotNetAll.au3" #include Opt( "MustDeclareVars", 1 ) Example() Func Example() Local $oNetCode = DotNet_LoadCScode( FileRead( "Program.cs" ), "System.dll | C:\References\SelectUser.dll" ) Local $oUserDetails = DotNet_CreateObject( $oNetCode, "CustomerDetails.User" ) Local $aVariants = $oUserDetails.getCMDB('23680') ConsoleWrite( $aVariants ) EndFunc