RIAS
asked on
Nunit test
Hello,
I need to write a nunit test for this bit of code:
using System;
using System.Linq;
namespace EE_Q29143059
{
class Program
{
static void Main(string[] args)
{
var data = "1,0,0,1";
var result = $"?{String.Join("&", data.Split(new[] { "," }, StringSplitOptions.RemoveE mptyEntrie s).Select( x => $"message={x}"))}";
Console.WriteLine(result);
Console.ReadLine();
}
}
}
Thanks
I need to write a nunit test for this bit of code:
using System;
using System.Linq;
namespace EE_Q29143059
{
class Program
{
static void Main(string[] args)
{
var data = "1,0,0,1";
var result = $"?{String.Join("&", data.Split(new[] { "," }, StringSplitOptions.RemoveE
Console.WriteLine(result);
Console.ReadLine();
}
}
}
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER