Featured

    Featured Posts

Generate invoice number through c#

In this article i will show you how to generate invoice number through c# in form of AJ0001/001, AJ0001/002 ...

    int invoiceNo = 1;
    while (Console.ReadLine() != "stop")
    {
        for (int i = 1; i <= 100; i++)
        {
            Console.WriteLine("{0}/{1}", invoiceNo.ToString("AJ0000"), i.ToString("000"));
        }
        invoiceNo++;
    }
author

Anand Jee

My Name is Anand Jee. I'm a software developer by profession as well as I'm a reader, gadget enthusiast, guitarist and traveller. I blog about code, technology, the web, gadgets, technology and cultures. I'm excited about new technology.

Get Free Email Updates to your Inbox!

Post a Comment

www.CodeNirvana.in

Copyright © Kodexpression