C# Examples

Best site for developers

  • Home
  • About C#
    • C# Interview Questions and Answers
    • Learn C#
  • ALL POSTS
  • Bootstrap Examples
  • PHP Examples
  • CONTACT

Tag Archives: play default windows sounds

12 Jul

C# Play Default Windows Sounds

This example shows how to play the default windows sounds.

Usage:

            //To play the classical beep sound, you can use the following code:
            System.Media.SystemSounds.Beep.Play();

            //Similarly, you can play the “Question” sound with this code:
            System.Media.SystemSounds.Question.Play();
turgay Posted in C# .NET C#, play default windows sounds Leave a comment

Post navigation

Categories

Recent Posts

  • C# Binary Search Tree Implementation
  • Select,Insert,Update,Delete Data in Access File using C#
  • C# Collections Tutorial
  • C# ArrayList Example
  • C# Stack Example
Fruitful theme by fruitfulcode Powered by: WordPress
↑