Advertisement
Guest User

Untitled

a guest
Feb 18th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $UtilDef=@"
  2. using System;
  3. public static class MidiUtils{
  4.    public static void HighestNote(string notesString){
  5.        Console.WriteLine("highestNote");
  6.    }
  7. }
  8. "@
  9. Add-Type -TypeDefinition $UtilDef
  10. Remove-Variable UtilDef
  11. [MidiUtils]::HighestNote("f4 g4 a#4 c5 d5 d#5 f5 g5 a5 a#5 c6 d6");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement