Skip to content

Try embedding C# into strings where appropriate #201

Description

@michaelblyons

In places like this, can we embed C# highlighting?

Add-Type @"
using System; using System.Runtime.InteropServices; public class ClassGetForegroundWindow {
[DllImport("user32.dll")]
public static extern IntPtr GetForegroundWindow();
}
"@

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions