WebService.HelloWorld C# (CSharp) Method

HelloWorld() private method

private HelloWorld ( ) : string
return string
    public string HelloWorld()
    {
        return "Hello World";
    }

Usage Example

Esempio n. 1
0
        public ActionResult Index()
        {
            var ws = new WebService();

            ViewBag.Test = ws.HelloWorld();
            return(View());
        }
All Usage Examples Of WebService::HelloWorld