I am stuck in allocating data in array. for example i have 100 words in paragraph now i want to make array which contain 10 words in each array slot but not break words mean "Hello" in one slot would be "hel" and in second slot rest of word "lo".
谁能知道如何执行?
我的段落像我这样说。
hi how are you
whats going on
Google Translate API for .NET 0.4 alpha
¶
Description:
Provides a simple, unofficial, .NET Framework API for using Google Ajax Language API service.
Feature:
* tyle5">Support all functions of Google Ajax Language API.
* CLS compatible. It can be used by any .NET languages (VB.NET, C++/CLI etc.)
Versions: Google Search API for .NET comes in different versions for the various .NET frameworks. * .NET Framework 3.5 Client Profile.
* .NET Framework 2.0
* .NET Compact Framework 3.5
* Silverlight 3.0
Example:
string text = "我喜欢跑步。";
TranslateClient client = new TranslateClient(/* Enter the URL of your site here */);
string translated = client.Translate(text, Language.ChineseSimplified, Language.English);
Console.WriteLine(translated);
// I like running.
"