Write code in LINUX OS taking reference of WINCE OS code

In WINCE OS, i followed this link How to use Matrix Keypad and downloaded its Demo code of CSharp and it worked successfully.

Now, I have to do the similar coding but in LINUX OS and in C Language. Please give me a hint or idea or code similar as the above Demo code of CSharp.

Thank you for help.

Hi @tanvi

What is the version of the software of your module?
What is your application?

You can run C# application in Linux using Mono as discussed here.

Best regards,
Jaski