Sha256: d14a23440656d22972da00202473b045a4eca186770e5cdf5d4a56450a3876cf

Contents?: true

Size: 365 Bytes

Versions: 166

Compression:

Stored size: 365 Bytes

Contents

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

  public static class TwoFer
  {
      public static string Name(string input = null)
      {
          if(string.IsNullOrWhiteSpace(input))
          {
              return "One for you, one for me.";
          }

          return string.Format("One for {0}, one for me.", input);
      }
  }

Version data entries

166 entries across 166 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/csharp/exercises/two-fer/Example.cs
trackler-2.2.1.179 tracks/csharp/exercises/two-fer/Example.cs
trackler-2.2.1.178 tracks/csharp/exercises/two-fer/Example.cs
trackler-2.2.1.177 tracks/csharp/exercises/two-fer/Example.cs
trackler-2.2.1.176 tracks/csharp/exercises/two-fer/Example.cs
trackler-2.2.1.175 tracks/csharp/exercises/two-fer/Example.cs
trackler-2.2.1.174 tracks/csharp/exercises/two-fer/Example.cs
trackler-2.2.1.173 tracks/csharp/exercises/two-fer/Example.cs
trackler-2.2.1.172 tracks/csharp/exercises/two-fer/Example.cs
trackler-2.2.1.171 tracks/csharp/exercises/two-fer/Example.cs
trackler-2.2.1.170 tracks/csharp/exercises/two-fer/Example.cs
trackler-2.2.1.169 tracks/csharp/exercises/two-fer/Example.cs
trackler-2.2.1.167 tracks/csharp/exercises/two-fer/Example.cs
trackler-2.2.1.166 tracks/csharp/exercises/two-fer/Example.cs
trackler-2.2.1.165 tracks/csharp/exercises/two-fer/Example.cs
trackler-2.2.1.164 tracks/csharp/exercises/two-fer/Example.cs
trackler-2.2.1.163 tracks/csharp/exercises/two-fer/Example.cs
trackler-2.2.1.162 tracks/csharp/exercises/two-fer/Example.cs
trackler-2.2.1.161 tracks/csharp/exercises/two-fer/Example.cs
trackler-2.2.1.160 tracks/csharp/exercises/two-fer/Example.cs