From 6f5adf5874cfe50d2e00c0a2415f5815e5b6a87b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=B2=A8=E9=B1=BC=E8=BE=A3=E6=A4=92?= <809124839@qq.com>
Date: Tue, 28 May 2019 15:49:01 +0800
Subject: [PATCH 1/2] new dir c#
---
c#/.keep | 0
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 c#/.keep
diff --git a/c#/.keep b/c#/.keep
new file mode 100644
index 0000000..e69de29
--
Gitee
From bd6129cfb30122b222de3417f78d69fe6de39a94 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=B2=A8=E9=B1=BC=E8=BE=A3=E6=A4=92?= <809124839@qq.com>
Date: Tue, 28 May 2019 16:11:15 +0800
Subject: [PATCH 2/2] =?UTF-8?q?=E8=BF=94=E5=9B=9E=E5=80=BC=E5=8A=A0?=
=?UTF-8?q?=E4=B8=89=E5=85=83=E8=BF=90=E7=AE=97=E7=AC=A6=E5=80=BC...?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
c#/Util.cs | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 c#/Util.cs
diff --git a/c#/Util.cs b/c#/Util.cs
new file mode 100644
index 0000000..02fba65
--- /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;
+ }
+ }
+}
--
Gitee