using LaunchDarkly.Client;
public static void Main()
var ldConfig = LaunchDarkly.Client.Configuration
.Default("YOUR_SDK_KEY");
var ldClient = new LdClient(ldConfig);
LaunchDarklyWrapper.SetupClient(ldClient);
var mockLdClient = new Mock<ILdClient>();
LaunchDarklyWrapper.SetupClient(mockLdClient.Object);
Console.WriteLine("Hello World");
LaunchDarklyWrapper.LdClient.BoolVariation("test-key", null);
public class LaunchDarklyWrapper
public static ILdClient LdClient { get; private set; }
public static void SetupClient(ILdClient ldClient)