Simple Example of using Enum Type why we use them?
C#
2
Posts
2
Posters
0
Views
1
Watching
-
Hi all, how we can use the enum any simple Example of using the enum? enum is data type or object? Hope hear from you Best Regards
-
Hi all, how we can use the enum any simple Example of using the enum? enum is data type or object? Hope hear from you Best Regards
Rameez Raja wrote:
any simple Example
public enum Response
{
No
,
Yes
}return Response.Yes ;
Rameez Raja wrote:
enum is data type or object?
Read up on it[^] and then ask any specific questions you have.