zidea

关注

DefaultVal SaySth(string sthstr, string name)

zidea

关注

阅读 46

2023-06-16


using System;
using System.Collections.Generic;
using System.Text;

namespace DefaultVal
{
    class Program
    {
        static void SaySth(string sthstr, string name)
        {
            if (name=="")
                name="Jim";
            Console.Out.WriteLine(name+ " says: "+sthstr);
        }

        static void Main(string[] args)
        {
            SaySth("hello", "");
        }
    }
}
/*
 Jim says: hello
请按任意键继续. . .
 */



相关推荐

颜娘娘的碎碎念

Map<String, Map<String, String>>转String,再转回Map

颜娘娘的碎碎念 56 0 0

夹胡碰

String str=new String(

夹胡碰 128 0 0

山竹山竹px

setClassName (String , String )与setClassName (Context,String )

山竹山竹px 39 0 0

耶也夜

HDU-6194 string string string 后缀数组

耶也夜 39 0 0

云卷云舒xj

string

云卷云舒xj 66 0 0

Hyggelook

String.IndexOf String.IndexOf String.Substring

Hyggelook 70 0 0

猫er聆听没落的旋律

String s = “hello”; String s = new String(“hello”) 的区别

猫er聆听没落的旋律 60 0 0

i奇异

string【2】模拟实现string类

i奇异 21 0 0

一叶轻舟okok

【算法】Inclusion of a Shuffled String Into another String

一叶轻舟okok 32 0 0

忆北文学摄影爱好员

PHP Date |AND| Explode |AND| Find If String Contains a String

忆北文学摄影爱好员 80 0 0

精彩评论(0)

0 0 举报