I’m getting this error while trying to run my robot from studio
member names cannot be the same as their enclosing type
Anyone knows the reason for this error?!
I’m getting this error while trying to run my robot from studio
member names cannot be the same as their enclosing type
Anyone knows the reason for this error?!
Hi @MAdona_salah ,
Could you let us know if you’re getting this error When you just start to run the Project/workflow ?
Or Does this error happen on a particular activity ?
Could you also perform a Debug and confirm on this ?
Yes, the error is quite clear. You cannot have variables or arguments with the same name as their types.
For example for cannot have an integer variable called integer, or a datatable value called datatable.
Its a standard .NET constraint.
You resolve it by changing the name of variable to different name as the current name is matching with the reserved keyword of .Net Framework.