Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

Latest commit

 

History

History
51 lines (36 loc) · 1017 Bytes

README.md

File metadata and controls

51 lines (36 loc) · 1017 Bytes

LangPackage

NuGet version (Groophy.LangPackage)

Source Code

Usage

We create a class varriable

Lang l = new Lang();

After read lang file

l.ReadLang("C:\\Users\\<username>\\Desktop\\test.lang");
//BatchIDE=Groophy.Inc
//bat=kvc/*owner of batch-man*/

Lastly get value

l["<PropertiesName>"]

Console.WriteLine(l["BatchIDE"] + " - " + l["bat"]);
//Groophy.Inc - kvc

Note

/* = start comment

*/ = end comment

bat=kvc/*owner of batch-man*/

Lang["bat"] = kvc

Sample

Lang l = new Lang();
l.ReadLang("C:\\Users\\<username>\\Desktop\\test.lang");
//BatchIDE=Groophy.Inc
//bat=kvc/*owner of batch-man*/

Console.WriteLine(l["BatchIDE"] + " - " + l["bat"]);
//Groophy.Inc - kvc

Console.ReadKey();

~Groophy Lifefor