Monitoring a toggle switch status from C#

Hi there, after googling it a bit tried a couple samples and sadly they didn't work.
Could you guys point me to a working tutorial about this?
I'll be trying by my own in the meantime.

Thanks in advance.

tried a couple samples and sadly they didn't work.

What samples? What happened?

I'll be trying by my own in the meantime.

I'm sure you'll learn a lot more that way. Maybe even how to ask good questions.

tried a couple samples and sadly they didn't work.

What samples? What happened?

I'll be trying by my own in the meantime.

I'm sure you'll learn a lot more that way. Maybe even how to ask good questions.

I'm sorry Sr was not my intention to bother you, i'll keep searching elsewhere.

Regards.