SAML 2.0 & Okta C#

We are a service provider. We are looking for our product to be integrated via SSO Saml 2.0
I am looking for SAML2.0 C# sample code. I have had a look on Okta developer community but haven’t still found any sample in working condition

“SAML 2.0
XML-based open standard for SSO. Use if the Identity Provider for your application only supports SAML.”

Any help from the community would be great!