WebService.HelloWorld C# (CSharp) 메소드

HelloWorld() 개인적인 메소드

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

Usage Example

예제 #1
0
        public ActionResult Index()
        {
            var ws = new WebService();

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