我有一堂课
class dictonary
{
public string English{get;set;}
public string Hindi{get;set;}
}
List<dictionary>
在这里,我有一个在英语和印地语中具有含义的类词典列表。我想要作为
public string EngToHindi(string English)
{
private string hindi="";
//nepali = english =>Logic goes here
return hindi;
}
如果我像这样传递字符串,"My Name Is Manoj."
它必须返回"Mera Naam hai Manoj"
List<dictionary>
我有数据数据
English Hindi
---------------------
my mera
is hai
Name naam