JWT signature C#

my jwt encoded string when pasted in the debugger says invalid signature
can some one suggest ways to do it in C#