Skip to content

Commit f3b665f

Browse files
committed
add NullPropagatingOperatorSamples01.cs
1 parent ed54a2c commit f3b665f

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
using TryCSharp.Common;
2+
3+
namespace TryCSharp.Samples.CSharp6
4+
{
5+
[Sample]
6+
public class NullPropagatingOperatorSamples01 : IExecutable
7+
{
8+
public void Execute()
9+
{
10+
throw new System.NotImplementedException();
11+
}
12+
}
13+
}

TryCSharp.Samples/TryCSharp.Samples.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@
146146
<Compile Include="Commons\Extensions\StringExtensions.cs" />
147147
<Compile Include="CSharp6\AutoPropSamples01.cs" />
148148
<Compile Include="CSharp6\ExpressionBodySamples01.cs" />
149+
<Compile Include="CSharp6\NullPropagatingOperatorSamples01.cs" />
149150
<Compile Include="CSharp6\UsingStaticSamples01.cs" />
150151
<Compile Include="Dummy.cs" />
151152
<Compile Include="Helpers\CompareResultHelper.cs" />

0 commit comments

Comments
 (0)