I have created a Web API project and created one SampleController in the controller folder. By default there are certain methods. under

public string Get(int id)
        {
            return "value";
        }

I have create another method

public byte[] Get(string toByte)
            {
                byte[] idbytes = System.Text.Encoding.UTF32.GetBytes(toByte);
                return idbytes;
            }

` Now how can i check whether it is returning byte array or not

Related posts

Recent Viewed