Tutorials

Math Functions in C#

Submitted by donbermoy on
Today, I will teach you how to create a program that has math functions in C#. Here you will learn about Abs, Log, Round, Sin, Cos, and Tan Function. Now, let's start this tutorial! 1. Let's start with creating a Windows Form Application in C# for this tutorial by following the following steps in Microsoft Visual Studio 2010: Go to File, click New Project, and choose Windows Application. 2. Next, add two textboxes named txtNum for your inputted number and txtOut for the output.

Validate Leap Year in C# Console

Submitted by donbermoy on
Today in C#, i will teach you how to validate a year as leap year or not. Hence we already know that leap year has 366 days instead of the normal 365 days. Leap years occur every 4 years. And this fact is our formula in finding a leap year using the console application in C#. Now, let's start this tutorial! 1. Let's start with creating a Console Application for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Console Application. 2.

Extension File Converter in C#

Submitted by donbermoy on
This tutorial provides to make a program that can convert a file into any any file that is changing the extension filename of this file using C#. Now, let's start this tutorial! 1. Let's start with creating a Windows Form Applicationin C# for this tutorial by following the following steps in Microsoft Visual Studio 2010: Go to File, click New Project, and choose Windows Application. 2.

Remove all numbers in the TextBox using C#

Submitted by donbermoy on
Today in C#, we will make a program in which if we input a number or numbers in the textbox, it will remove or clear those numbers if we will click the remove button. Now, let's start this tutorial! 1. Let's start with creating a Windows Form Application in C# for this tutorial by following the following steps in Microsoft Visual Studio 2010: Go to File, click New Project, and choose Windows Application. 2.

How to Create an Image Converter in C#

Submitted by donbermoy on
Today in C#, I will teach you how to create a program that will convert an image to its file extension in jpeg, bmp, png, and gif. Now, let's start this tutorial! 1. Let's start with creating a Windows Form Application for this tutorial by following the following steps in Microsoft Visual Studio 2010: Go to File, click New Project, and choose Windows Application. 2. Next, add one PictureBox named picbox, two buttons named btnBrowse and btnconvert, and one ComboBox named cbformats.

Bouncing Ball in C#

Submitted by donbermoy on
In this tutorial, I will teach you how to create a program that has the animation of a bouncing ball in C#. Now, let's start this tutorial! 1. Let's start with creating a Windows Form Application in C# for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application. 2. Next, add only a timer named Timer1. You must design your interface like this: design 3.

Simple Calculator using a Class in C#

Submitted by donbermoy on
In this C# tutorial, I will teach you how to create a program that will compute sum, difference, quotient, and product as just a simple calculator that uses a class. Now, let's start this tutorial! 1. Let's start with creating a Windows Form Application in C# for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application. 2.

Razmazio : JAVA Side Scroller Game Programming part2

Submitted by moazkhan on

TUTORIAL NO 15

Razmazio : JAVA Side Scroller Game Programming part2

In this tutorial you will learn: 1. Playing sound in JAVA 2. Adding points in java 3. Adding custom Mario FONTS 4. Timer class 5. Animations using timer 6. Side Scroller game 7. Game Programming 8. Changing screens in the game 9. Swing Animations 10. Event handling 11. JAVA awt 12. JAVA swing 13. Adapters In this tutorial I will continue coding my previous tutorial. I will continue adding more functions in GamePanel class.