// See the License for the specific language governing permissions and\r
// limitations under the License.\r
\r
+using System.Linq;\r
+\r
namespace KancolleSniffer.Model\r
{\r
public class CellInfo : Sniffer.IPort\r
}\r
}\r
\r
- private string BattleCount => ((char)('0' + _battleCount)).ToString();\r
+ private static readonly char[] FullNumber ="0123456789".ToCharArray();\r
+\r
+ private string BattleCount => new string(_battleCount.ToString().Select(ch => FullNumber[ch - '0']).ToArray());\r
}\r
}
\ No newline at end of file