Generate Invoice No - CSharp System

CSharp examples for System:Random

Description

Generate Invoice No

Demo Code


using System.Threading.Tasks;
using System.Text;
using System.Linq;
using System.Collections.Generic;
using System;//from  ww  w . ja  va 2s .  c om

public class Main{
        public static string GenerateInvoiceNo()
        {
            return Guid.NewGuid().ToString("N").Substring(0, 14);
        }
}

Related Tutorials