diff --git a/c#/.keep b/c#/.keep new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/c#/Util.cs b/c#/Util.cs new file mode 100644 index 0000000000000000000000000000000000000000..02fba65b7a16c79904761a6e1817ba4b1bdd175b --- /dev/null +++ b/c#/Util.cs @@ -0,0 +1,19 @@ +using System; + +namespace test +{ + public class Util + { + /// + /// 返回值加三元运算符值 + /// 好像没什么不对 -_-! + /// + /// + /// + /// + public static int GetValue(int inputValue, int type) + { + return inputValue + type == 1 ? 1 : 2; + } + } +}