VB.Net Equivalent in C#?
I am Validating a TextBox on it's KeyPress Event in VB.

VB.Net

    If InStr("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz`~!@#$%^&*()_+|\[]{};:<>/?,.'" & """" & Chr(8), Chr(KeyAscii)) = 0 Then KeyAscii = 0

What will be it's equivalent in C# ?
Thanks.
VB.Net Equivalent in C#?
===

I am Validating a TextBox on it's KeyPress Event in VB.

VB.Net

    If InStr("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz`~!@#$%^&*()_+|\[]{};:<>/?,.'" & """" & Chr(8), Chr(KeyAscii)) = 0 Then KeyAscii = 0

What will be it's equivalent in C# ?
Thanks.