Note: You also can use interface names as return types. Bạn cũng có thể dùng các tên giao diện (interface) như là kiểu trả về.
You cannot overload function declarations that differ only by return type. Bạn không có thể nạp chồng hàm mà chỉ khác nhau bởi kiểu trả về.
Method signature does not include the return. Method signature không bao gồm kiểu trả về.
The return type of the method is boolean Kiểu trả về của phương thức là boolean
Method signature does not include the return type. Method signature không bao gồm kiểu trả về.
The signature of a method does not include the return type. Method signature không bao gồm kiểu trả về.
Example: The result of calling a function whose return type is not a Ví dụ: Kết quả của việc gọi một hàm có kiểu trả về không phải là
ASP.NET Core MVC framework has built-in support for several types of Action results including ASP.NET Core MVC đã xây dựng sẵn vài kiểu trả về của action result bao gồm:
It shall be defined with a return type of int and with no parameters: Nó sẽ được định nghĩa với kiểu trả về của int và không có tham số:
The ASP.NET MVC framework supports several types of action results including: ASP.NET Core MVC đã xây dựng sẵn vài kiểu trả về của action result bao gồm: