C# Class GR.IO.PathHelper

Mostra file Open project: alexhanh/Botting-Library

Public Methods

Method Description
GenerateNextFilePath ( string filepath ) : string

Generates the next available filepath by adding a number before the extension. '\dir1\test.txt', and test0.txt and test1.txt already exist, so it will return '\dir1\test2.txt'

Method Details

GenerateNextFilePath() public static method

Generates the next available filepath by adding a number before the extension. '\dir1\test.txt', and test0.txt and test1.txt already exist, so it will return '\dir1\test2.txt'
public static GenerateNextFilePath ( string filepath ) : string
filepath string
return string