Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
1.00/5 (4 votes)
See more:
VB
public sub Excecutesql(ByVal ParamaArray Obj() As Object)
End sub

hi i want to convert this into c# syntax its from a tutorial and i use many on-line converter and they cannot able to convert this.
Posted

C#
public void Excecutesql( params object[] Obj)
     {
     }
 
Share this answer
 
Comments
tjnapster555 20-Sep-14 1:23am    
thank you
There are plenty of online converter tools.
eg:-
http://www.developerfusion.com/tools/convert/vb-to-csharp

NB: It is always better to convert it yourself. After you done. you can check it using these kinda tools.
 
Share this answer
 
v2
Comments
Bhavikkumar Chaudhari 23-Sep-14 9:10am    
User below link that will help.
http://www.developerfusion.com/tools/convert/csharp-to-vb/?batchId=fa3bf46c-2c07-4e99-a57d-080bcc43b9c4
[no name] 23-Sep-14 11:44am    
Yeah we can use that too buddy :)
VB
public sub Excecutesql(ByVal ParamaArray Obj() As Object)
End sub



in c# we can write like this

public void Executesql(object ParamaArray )
{

}
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900