C# Corner

Resources  
  • Meal Scheduler in C#May 04, 2000. In this application once you enter your meal timings. A message box will appear on the screen while you are working and remember you about your meal with light sound.
  • Word Jumble In MobileJun 13, 2001. Here is an application where u can Play Word Jumble in Mobile.
  • Snooping on C#.NET Regular ExpressionsJun 26, 2001. I present here two micro test utils, which will let you play with regular expressions. Regular expression( System.Text.RegularExpressions.Regex ) is a powerful class very useful for parsing, splitting or replacing texts.
  • Tic Tac ToeJul 16, 2001. TicTacToe is a demonstration of the AI game playing minimax algorithm. The game plays out every possible combination of moves from each position and consequently is unbeatable. This example uses .NET Beta 2 and was written using a text editor.
  • Mastermind Game in C#Aug 10, 2001. This is the game of Mastermind written in C#. The game is played by clicking on a set of 4 colors and then hitting the score button. Colors can repeat themselves in this game, so be wary!
  • Playing with StringsSep 18, 2001. This program explores the String class and its various methods. With this you will be able to initialize strings using different constructors and use them. To see how the methods of the 'String' class work, see the following code.
  • Debugging "Rubber Band Effect"Nov 06, 2001. Bug fixes for Rubber Band Effect in a form by Simon Bond demonstrated a small but useful rubber band effect application. If you play with the application for a while, however, you may find one major problem with it.
  • Interactive Shaped FormsNov 29, 2001. This Demo show how to create shaped form and customized buttons using Region, GraphicsPath and picture control and using picture control to play animate pictures.
  • Space Invaders in C# and .NETDec 23, 2001. Yes, the classic arcade game has returned and is appearing in C# Corner complete with sound and authentic aliens and source code. It's not quite as good as the real game, but with a few adjustments it can get there.
  • Playing with DataGrid ControlJan 08, 2002. The article gives a user the overview to show the importance and versatility of the DATAGRID control.
  • SharpHSQL - An SQL engine written in C#Jan 08, 2002. .NET! C#! If you haven't been inundated with the marketing of Microsoft's new initiatives, you've been living in your cube without a web connection for quite a while. Like a lot of developers, I had installed the .NET SDK and the Beta 1 of Visual Studio .NET and played with it. However, since its release was so far out in the future and I had deadlines to meet, I soon went back to working with the things my customers needed now.
  • Playing with 3-D Coordinate Space in C#, GDI+ and .NETJan 10, 2002. This article show to dealing with a 3-D Coordinate System.
  • Asteroids in C#Apr 04, 2002. As my first experiment in a game design, rather than using a DirectX wrapper, I decided to explore the functionality of GDI+. GDI+ has lot of nice features to offer but performance wise it is slow. So GDI+ may not be a good idea to develop practical fast paced games. This game also includes sounds.
  • Multithreading Part 4: The ThreadPool, Timer Classes and Asynchronous ProgrammingApr 16, 2002. In this article, I would discuss few more .NET classes and how and what role do they play a role in building multithreading applications.
  • Nemesis-7rc1 (Codename Deviate)May 13, 2002. Nemesis-7 is a full-screen 2D shoot’em up that makes use of the DirectInput, DirectSound and DirectDraw interfaces from DirectX. The player controls a spaceship which he uses to duel the computer opponent. I implemented some artificial intelligence to make the CPU play more human.
  • Nemesis-7rc1 ( Codename Deviate)Jun 13, 2002. Nemesis-7 is a full-screen 2D shoot’em up that makes use of the DirectInput, DirectSound and DirectDraw interfaces from DirectX. The player controls a spaceship which he uses to duel the computer opponent. I implemented some artificial intelligence to make the CPU play more human.
  • Programming Template in Web Server ControlsJul 15, 2002. Templates play a major role in managing the layout and format of the data being displayed in ASP.NET data bound controls.
  • COBOL and .NET Data TypesSep 24, 2002. .NET has created a new, level playing field for a multitude of programming languages to interact on a scale never before seen.
  • Pro Developer: Throwing Money Out the WindowDec 18, 2002. It's common knowledge among programmers that most of the ills of the software industry, and most particularly the companies where we work, could be solved by simply letting the technical people make the technical decisions. In fact, that sounds so obvious that you might be tempted to shake your head and wonder what planet I come from. Obviously, since this is so incredibly logical and sensible, it's a given that most companies leave management decisions to managers, and technical decisions to techies, right?
  • ChessyOnline 1.0: An Online and Network Chess GameDec 31, 2002. The attached project is a chess game that can be played by two users online as well as on the network.
  • Using Cards.dll in a Windows Control LibraryJan 16, 2003. This project aims at designing a windows control library that encapsulates a playing card.
  • The Matrix Class and TransformationsApr 01, 2004. Matrices play a vital role in the transformation process. In GDI+, the Matrix class represents a 3×2 matrix that contains x, y, and w values in the first, second, and third columns, respectively.
  • Significance of Transformation OrderApr 27, 2004. When applying a composite transformation on graphics objects, the order of transformations plays a vital role. This article shows you various aspects of the transformation order and the results.
  • A Chess Program using C#Nov 29, 2004. This is a chess program, made using C#. It has used object oriented concepts and design patterns like Flyweight, Factory and Decorator. Two player can play this game and it has facility to drag-drop pieces. It also shows potential positions of each pieces which is useful for learning.
  • ClickMania GameDec 21, 2004. This is an old game, first implemented in 1996 or so... It has a great addictive power. You will quickly find out the rules. I used the winmm.dll library for playing sounds, the picturebox.Paint event to draw bitmaps in a Picturebox and a recursive function to check the balls next to each other for the colors.
  • SharpChess in C#Feb 10, 2005. SharpChess (http://www.sharpchess.com) is a computer application that enables you to play chess against the computer. It plays a challenging, tactical and, I'm told, "fun" game of chess.
  • Content Management and Collaboration using SPS 2003May 16, 2005. This article would be providing a brief introduction about the role which Share Point Portal Server is going to play in coming future.
  • Microsoft patterns & practices: The Enterprise LibraryJul 06, 2005. Microsoft patterns & practices provide scenario-specific recommendations illustrating how to design, develop, deploy, and operate architecturally sound applications for the Microsoft .NET platform.The following article covers details on the Data Access Application Block.
  • Microsoft patterns & practices: The Enterprise LibraryJul 12, 2005. Microsoft patterns & practices provide scenario-specific recommendations illustrating how to design, develop, deploy, and operate architecturally sound applications for the Microsoft .NET platform.The following article covers details on the Data Access Application Block.
  • Enterprise Library Caching Application BlockJul 12, 2005. Microsoft patterns & practices provide scenario-specific recommendations illustrating how to design, develop, deploy, and operate architecturally sound applications for the Microsoft .NET platform. The following article covers details on the Caching Application Block.
  • Security in ADO.NETJul 16, 2005. This article gives a sound idea how to write secure code for ADO.NET . Data Access Layer (DAL) is a common and very curtail for your application. Its very important know some of the basic security points while writing ADO.NET program.
  • A Loader and Game Pad for Playing SudokuJan 13, 2006. This C# application will allow you to load existing Sudoku games, manually create your own games, save, print, and check Sudoku puzzles, and more. The article also describes how to use the XmlDocument class to persist Sudoku templates and games in progress.
  • Playing Sounds in .NET 2.0 Using Sound PlayerFeb 13, 2006. If you have ever played sounds in your applications, you must be familiar with PlaySound() WIN32 function. Prior to .NET 2.0, there was no way to play sounds thorugh the managed API. The SoundPlayer class introduced in .NET 2.0 now allows developers to play sounds using managed API.
  • Play with the Excel Object Library using .NETMar 02, 2006. In this article we will see usage of several things like how to use WebBrowser control, manipulating Excel object libarary.
  • Inheritance Versus InterfacesJul 17, 2006. This article describes the advantages of using interfaces over inheritance and how to create a plug and play component in .NET using an interface.
  • When to Delay Sign AssembliesAug 03, 2006. Delay signing plays a vital role in development when you are building assemblies. In this article, I talk about the significance and process of delay signing the assemblies.
  • Aural Alert Generator (Voice and Tones)Aug 25, 2006. This article describes an application used to generate and test aural alerts; I wrote the application originally to allow me to define and test aural alerts for use in a couple of cockpit simulators, however, you could use the application to generate aural alerts for any purpose. The application also may be used to define voice messages which may be optionally saved as wave files for subsequent use in other applications.
  • Simple MP3 PlayerNov 20, 2006. So many people are asking how to play MP3 and WAV files that I put together this simple player. One button and six lines of code. Thats all there is.
  • Prevent CD AutoplaysDec 19, 2006. This article describes the approach used programmatically to prevent a CD from going into auto play mode; this may be useful to you if you are, for example, writing an application that logs directly to CD and you are trying to burn data periodically to a CD but you do not want the CD to go into auto play mode after burning a some data to it.
  • Embedding and Playing WAV Audio Files in a Win Forms ApplicationJan 18, 2007. This article describes an approach to embedding WAV audio files into an application and playing them through the use of the System.Media class library.
  • Just for Fun - A Small Piano KeyboardFeb 02, 2007. This one was just for fun; the article describes a project used to build a simple piano keyboard that plays some not too terrific sounding notes courtesy of the Kernel32.dll's beep function.
  • Play Video in WPFApr 09, 2007. If you have built any video enabled application prior to WPF, you must be familiar with the Windows Media Player ActiveX control. The WPF library provides the MediaElement control that encapsulates Windows Media Player functionality.
  • Introduction to XNA: The Microsoft 2D and 3D Game Development PlatformApr 20, 2007. This article introduces you to the XNA Framework that makes game development easier than it ever was before. This sample features a star trek ship which you can move around the screen and shoot at the enemy Klingon Ship. The demo comes complete with authentic sound.
  • Display Videos in ASP.NET 2.0 Aug 29, 2007. This article shall describe the construction of a custom control used to play video on an ASP.NET web page. The control is based upon the Windows Media Player active X control; with it you can add canned or live video to a web page by setting a property or two at design time, or from the ASP.NET page itself.
  • George Steeve's .NET Tutorial ProjectsDec 09, 2007. This download contains a set of about 17 projects that are used by George to teach C# and .NET. George has been kind enough to share his hard work with the C# Corner Community. The download include some great multimedia samples that show you how to play audio, video, and speech using .NET and C#.
  • What really it differs an Interface from a class: Part IIIApr 29, 2008. As a response to the third question asked in the first article Part I-What really it differs an Interface from a class? I can say that also interfaces play others important roles. They can serve as a powerful tool to explore objects
  • Using the default keyword in C#May 22, 2008. The keyword default plays several and important roles in the C# language, therefore, I will enumerate some cases where the default keyword is used.
  • SoundPlayer in WPFJul 29, 2008. The code snippet in this article shows how to play sounds in WPF.
  • Media Player in WPFAug 04, 2008. This tutorial shows you how to play and control media files in WPF and XAML using WPF Media controls.
  • How to Define and Configure a Grid Control Within a WPF Aplication Using XAML: Part IAug 13, 2008. In this article, I will try to make a representation of the Grid object witch is directly derived from the Panel abstract class and we can say that is a flexible area that contains rows and columns, it plays a role of container in a given WPF window.
  • Modal popup window in ASP.NetJan 07, 2009. A Masked div or modal popup window is a child window created from the parent window which prevents the user from interacting with parent window before he returns to the parent application.
  • MultiPlayer in C# Mar 02, 2009. MultiPlayer is a programm developed in C# and Windows Forms plays all kinds of media files.
  • Play a Flash Movie within a Div tagMar 06, 2009. This article and attached code snippet shows how to play a flash movie within an HTML DIV tag.
  • Window Media Player Remote ControlMar 11, 2009. The attached project is a remote control for Windows Media Player. Using this remote control, you may play, pause, and eject Windows Media Player on a computer.
  • Plug & play architecture using Policy Application BlocksApr 06, 2009. In this article, we will discuss how we can make plug & play architecture using policy application blocks. What we will do is we will take a practical scenario where we want to enable logging for an application depending on situations.
  • Converting Video file to FLV file Jun 15, 2009. This articles describes how to convert Video format files to FLV format files so that FLV files can be played on ASP.NET using any FLV players.
  • How to turn a mobile device into a mighty survey assistantJul 29, 2009. Marketing research and perfect customers’ knowledge are key factors for successful business. One of the best ways how to get to know your customers and their preferences is running surveys. Usually, the surveys are run by mobile workers using paper based forms. It might sound archaic, yet there are companies that use this manual approach. However, this outdated process can be easily replaced using mobile devices allowing data processing automation.
  • Playing Animation in GDI+ Feb 16, 2010. In this article I will explain about Playing Animation in GDI+.
  • Video Brush in WPFFeb 20, 2010. This article demonstrates how to implement video brushes in WPF using MediaElement XAML element.
  • Take Screen Shot From Media Element in WPFFeb 22, 2010. In this article we will see how can we take the screenshot of the Media (Video) we are playing.
  • Media Element in WPFFeb 22, 2010. In this article we will see how to use Media Element in WPF and we will explore some of the basic functionalities such as Play, Pause, Stop, Back and Forward.
  • Creating a Sound Recorder in C and C#Mar 23, 2010. In this article we will learn how to record audio and play sound files in C and C#.
  • Virtual Photo Album in C#Apr 05, 2010. This application called "Virtual Photo Album". I didn't use any third party components, so it should be easy for you to download the code and play with it. I will try not to use any third party components while I am learning C#.
  • Mind Puzzle Game in C#Apr 12, 2010. This is a simple game written in C# in which user presses Up, Down, Left, Right arrow keys to play this game.
  • When mobile solutions play a crucial role, bet on well-proved qualityApr 13, 2010. When targeting Windows Mobile platform, use of 3rd party controls is necessary. Let's find out what the most complete set of .NET Compact Framework components from Resco can offer.
  • Help Technique in Web applicationsAug 21, 2010. Help is a most important part our web applications, as mostly we don't notice it, but sometimes is plays a very big role for saving our time and work.
  • How to Play with Windows Phone 7 EmulatorAug 26, 2010. In this article I will be talking about How to play with Windows Phone 7 Emulator.
  • Hangman game in SilverlightSep 10, 2010. All work and no play makes Jack a dull boy. It means that without time off from work, a person becomes both bored and boring. So come and play the hangman game.
  • Reuse MMControl to Play Music File in New Framework 4Sep 21, 2010. In this article you will learn how to Reuse MMControl to play Music File in new framework 4.
  • Naught and cross gameSep 30, 2010. This is a naught and cross game. I hope you know how to play it.
  • Play Video in SilverlightOct 15, 2010. The MediaElement control is used to display and play videos in Silverlight. This article demonstrates how to use a MediaElement control in Silverlight to play videos with the help of XAML and C#.
  • Playing Audio and Video Files Using C#Nov 03, 2010. This article shows to develop a windows application for playing audio and video files using c#.net.
  • Intricacies of Layout in Windows Phone 7 Dec 03, 2010. One of the most important classes in all of Silverlight is Panel-the class that plays a starring role in the Silverlight layout system. You might expect such a crucial class to define many properties and events.
  • TIC TAC TOE Game in WPF using Expression BlendJan 25, 2011. In this Article I am going to create a game TIC TAC TOE in Windows Presentation Foundation (WPF) with the help of Microsoft Expression Blend. 2 Players can play this game at a time.
  • Image manipulation and thumbs creation with C#Feb 28, 2011. This article provides a well commented application created for a simple purpose; showing how easy resizing images is with the power of C#. The article includes a brief explanation of the application and the full source code, free to download, use, change and play with. Enjoy!
  • Expression Blend 4: BrushesMar 10, 2011. Brushes plays a very important role in creating an application in WPF. Use of brushes makes it more attractive application.
  • Playing and Controlling Video Playback in XAML SilverlightMay 02, 2011. In this article, you will learn how to play video and control it's playback in Silverlight.
  • Resource in Silverlight - Part 1 (Resource Files)May 07, 2011. Resources are a vital part for a web application and plays a major role while building Rich internet applications (RIA) using Silverlight. Silverlight does not have too many options to store and manage resources. In this article, we will discover the different options available to work and manage resources in Silverlight applications.
  • Role of Callback and Chaining in jQuery ’s Animate & EffectMay 09, 2011. Callback and Chaining play an important role in jQuery coding when using animate / effect methods. In this article we will understand it with the help of a small example.
  • Audio Tag in HTML5Jul 20, 2011. You can play audio sound using an audio tag. This is a new tag introduced in HTML5.
  • Scanners - C# GameJul 21, 2011. A simple to play C# game with collision detection and sound.
  • Introduction of JQueryAug 22, 2011. This article is a brief about some of things I tried out while playing around with JQuery when I started learning it.
  • Understanding WPF Application LifecycleOct 07, 2011. The System.Windows.Application class plays the same role in a WPF application as the System.Windows.Forms.Application class plays in a Windows Forms application.
  • Let's Play Around With Main Interrelated Concepts of Delegates in C#Nov 26, 2011. Today, in this article we will dig out and play around by creating simple delegate program and let’s see how better we can perform in this single program only. I mean, in this program I will cover everything all stuff required for delegate from all the possible ways. So I will be covering simple delegate creation, multi-cast delegate, use of named methods, use of anonymous methods, use of lambda expression and finally much better implementation about all of these and generic delegates as well.
  • Let's play around with LINQ Queries in C#.NETDec 08, 2011. Today, we will play around using LINQ Queries in C#.NET effectively. Let’s try to use some of the predefined methods of LINQ Queries and let’s dig out and find how to write LINQ rather than traditional way of using normal Classes.
  • Loading Assembly Dynamically and Calling Method (Modular Programming)Dec 12, 2011. Modular programming with silverlight is a really interesting topic. Because, Modularizing program plays a very important role while developing rich internet applications. As applications grow, there could be possibilities of performance hit due to not handling correctly.
  • Let's Play Around With Channel Factory in WCF Service Hosted on Web AppJan 08, 2012. Today, in this article let’s play around with one of the most interesting topic in WCF and we will try to implement this concept such that we can get much better idea on idea to handle the real time case scenarios.
  • Code for How to Send SMS in Windows Phone 7Jan 22, 2012. Today, in this article let’s play around with one of the mostly used application service in day to day life. This concept is very useful and helps in building some better real time apps based on version and generation changes.
  • Arithmetic Operation Using WCF Service Hosted on Windows Phone with SilverlightJan 22, 2012. Today, in this article let’s play around by performing arithmetic operation on windows phone using Silverlight with base as WCF Service.
  • How to Share Status Across Social Networking in Windows Phone 7 Via WCF ServiceJan 27, 2012. Today, in this article let's play around by implementing an interesting concept often used on a day-to-day basis in Windows Phone. This concept is highly useful for people who become involved with sharing messages across social networking sites.
  • How to Save an EMail Address in Windows Phone 7 Via WCF ServiceJan 27, 2012. Today, in this article let's play around by implementing one of the interesting concepts often used on a day-to-day basis in Windows Phone.
  • Connection Settings in Windows Phone 7 via WCF Service Jan 29, 2012. Today, in this article let’s play around with connection settings concept in windows phone whereby communicating a message from WCF Service.
  • Isolated Storage to Save and Read MP3 Files From Windows Phone 7Jan 29, 2012. In this article we are going to explore the phenomenon of playing a MP3 file programmatically.
  • Application Bar in Windows Phone 7 Via WCF ServiceJan 30, 2012. Today, in this article let’s play around with a good application bar concept in Windows Phone whereby messages are communicated using a WCF Service.
  • Code For Search Task in Windows Phone 7 Via WCF ServiceJan 30, 2012. Today, in this article let’s play around with one of the interesting search task concepts in Windows Phone whereby messages are communicated using a WCF Service.
  • Market Place Search Task in Windows Phone 7 via WCF ServiceFeb 03, 2012. In this article let’s play around with one of the interesting market search task concept in windows phone whereby communicating a message from WCF Service.
  • Audio and Video Tag in HTML 5Feb 05, 2012. Today, in this article let’s dig out one interesting concept in HTML5. This concept enables to embed some audio files or sound files onto our webpage to perform some operation. The Code is developed in Aptana Studio 3.
  • Let's Play around with Pivot Control in Windows Phone 7 via WCF Service Feb 10, 2012. Today, in this article let’ dig out with one more wonderful concept in windows phone whereby communicating with WCF Service to perform some expected arithmetic operation. Once Implemented, it gives flexibility to the user to access phone pivot features and perform expected operation in much easy manner.
  • Custom Error Reporting in ASP.NET Using C# .NETFeb 15, 2012. The title sounds interesting, right? So, in this article we are going to discuss custom error reporting in an ASP.Net application.
  • Splash Screen in Windows Phone 7 Via WCF Service MessagingFeb 18, 2012. Today, in this article let's play around with one more interesting concept in Windows Phone whereby communication with a WCF Service is used to get a message after the phone's main screen is displayed.

About play-sound

NA

SPONSORED BY

C# Corner Chandigarh DevCon16
Chandigarh DevCon16 is a one-day Developer Conference where programmers, technologists, authors, and members meet, demonstrate, plan, and hang out.
Visual Studio Live - Redmond 2016