本文整理汇总了C#中Author.FullNameMethod方法的典型用法代码示例。如果您正苦于以下问题:C# Author.FullNameMethod方法的具体用法?C# Author.FullNameMethod怎么用?C# Author.FullNameMethod使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Author
的用法示例。
在下文中一共展示了Author.FullNameMethod方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Main
static void Main(string[] args)
{
Console.OutputEncoding = Encoding.UTF8;
Console.InputEncoding = Encoding.UTF8;
int num = 153;
Ex001_InformationOfNumber infoNum = new Ex001_InformationOfNumber(num);
Console.WriteLine(infoNum.ToString());
dynamic lastName = "Chand";
dynamic dynAuthor = new Author();
Console.WriteLine(dynAuthor.FullNameMethod(lastName));
string strShow = String.Format(" Space of string: {0} ", ExerciseString.nbOfSpace(infoNum.ToString()));
Console.WriteLine(strShow);
ExerciseString.removeSpaceReduntion(ref strShow);
Console.WriteLine(strShow);
ExerciseString.concatString(ref strShow, "abc");
Console.WriteLine(strShow);
ExerciseString.stringLower(ref strShow);
Console.WriteLine(strShow);
//ExerciseString.stringUpper(ref strShow);
//Console.WriteLine(strShow);
ExerciseString.upperCharacterStartWord(ref strShow);
Console.WriteLine(strShow);
ExerciseString.upperAndLowerCharacterAlternate(ref strShow);
Console.WriteLine(strShow);
Console.ReadKey();
}