//------------------------------------------------------------------------ // static public method //------------------------------------------------------------------------ // Hangul ---> Japanese Katakana (ex. 아이돌 ---> アイドル ) static public string Hangul2Kana(string hangul) { string [] kRomanArray = Hangul.Hangul2kRomanArray(hangul); string katakana = Hangul.kRomanArray2Kana(kRomanArray); return(katakana); }
//------------------------------------------------------------------------ // constructor public Hangul(string text) { this.text = text; this.kRomanArray = Hangul.Hangul2kRomanArray(this.text); this.katakana = Hangul.kRomanArray2Kana(this.kRomanArray); }