<UserControl.Resources>
<Storyboard x:Key="imageRotationStoryboard" Storyboard.TargetName="loadingImage" Storyboard.TargetProperty="RenderTransform.(RotateTransform.Angle)">
<DoubleAnimation From="0" To="360" BeginTime="0:0:0" Duration="0:0:1.5" RepeatBehavior="Forever"/>
</Storyboard>
</UserControl.Resources>

public string TestFunction(string input){ 
Console.WriteLine(input);
}

In C#, the above works…

However, $input is a reserved variable in PowerShell. You can see a list of them all here. But much to…


  • SoundPlayer: Can play audio files that are embedded resources in the application, however, this can only play one sound at once.
  • MediaPlayer: Cannot play audio files that are embedded resources in the application, however, this can play multiple sounds at once.

iOS Style Toggle Button Code



GeneratePassword()

IT. Delinquent

A humble tech enthusiast and dad writing articles about the tasks I perform whilst working. Hopefully, you find something useful… I never do.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store