How to make Typing Speed Tester in C#

June 13, 2013

How to make Typing Speed Tester in C#

Typing Speed Tester is an exciting game where you can test your typing skills.By using this you can find your words per minute speed and it will provide you filtered result of your correct, incorrect and untype words .It will provide you 100% accurate result free of any error.You can practice daily and can improve your speed.Share it with your friends and compare your results with them.Now Let’s start the journey and see how fast you can type?


using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace TypingSpeed
    public partial class Form1 : Form
        public Form1()
        string[] data;
        private void Form1_Load(object sender, EventArgs e)
            textBox2.Text = "When the test first starts up, it will present you with a choice of lesson and time. If you are in a hurry, choose the 1 Minute Timed Typing Test. For a more accurate assessment, choose the 5 Minute Test. Lessons 26-35 are the classic story lessons and can make a better overall assessment by typing natural sentences. All the other lessons are available, so if you want to see what your wpm is on the home row keys, or your speed in the 10-key you can. New lessons 38 through 40 include Spanish, French and German words. Lessons 36 and 37 are commonly misspelled words. Our words per minute calculation is based on two factors. The first is the number of characters typed in a given time. Words per minute is determined by the standard calculation of 5 characters per word. ";
            string input = textBox2.Text;
            data = input.Split(' ');

        private static int g = 0;
        private void button1_Click(object sender, EventArgs e)
            timer1.Enabled = true;
            textBox1.Text = "";
            textBox1.ReadOnly = false;
            textBox3.Text = "";
            label1.Text = "No of Right Words: ";
            label6.Text = "No of Wrong Words: ";
            label3.Text = "No of Untype Words: ";

        private void timer1_Tick(object sender, EventArgs e)
            label8.Text = g.ToString();
            if (g > 59)
                int i = 0;
                int k = 0;
                string output = textBox1.Text;
                string[] str = output.Split(' ');
                for (int j = 0; j < str.Length; j++)
                    if (str[j] == data[j])
                    else if (str[j] != data[j])
                label1.Text += i.ToString();
                label6.Text += k.ToString();
                textBox3.Text = i.ToString();
                label3.Text += (data.Length - str.Length).ToString();
                textBox1.ReadOnly = true;
                timer1.Enabled = false;
                g = 0;


Screen Shot

How to make Typing Speed Tester in C#

You Might Also Like


Popular Posts

Like us on Facebook

Flickr Images