Topic
C#
All posts
Newest first- Nov 18, 2024 21 Essential Tips for Writing Clean Code in C# (.NET) Learn 21 essential tips for writing clean, maintainable, and efficient code in C# (.NET). Improve your coding skills with best practices and… 6 min
- Nov 10, 2024 KMAC: The Modern Heavyweight in Cryptographic Authentication "Meet KMAC, the new champ in cryptographic authentication! It's super flexible and extra secure, even against quantum threats. 14 min
- Jul 21, 2016 C# How To Run C# Code Inside Sublime Text Hey folks, I want to share a tip. Sublime Text is my favorite for quick scripts, text editing and doing other scripting… 2 min
- Jun 2, 2014 How to use RailPNRAPI to get PNR Status? Here I’m sharing the sample code on How to consume API provided by railpnrapi.com to query Indian Railway PNR status: Register yourself… 4 min
- Apr 5, 2014 Use of Coding Standards in Programming If you’re working in a team and use Visual Studio for development then here are few guideline tips on how you could improve the pace… 4 min
- Feb 7, 2014 A new guard page for stack cannot be created- ASP.NET MVC4 Error An hour back I was working with ASP.NET and encountered with this pretty error. I kept wandering for about ten minutes what… 1 min
- Jan 11, 2014 “object does not contain a definition for get_Range” in Excel C# Error: ‘object’ does not contain a definition for ‘get_Range’ Line of Code: Excel.Range header = wks.get_Range(wks.Cells[1, 1], wks.Cells[1, 10]); Solution: Cast the cells as "object" in get_Range() Excel.Range header = wks.get_Range((object)wks.Cells[1, 1],(object) wks.Cells[1, 10]);… 1 min
- Jan 11, 2014 How to convert Visual FoxPro DBF file to Excel in C# The very first thing as you go start doing this stuff, make sure you’ve downloaded and installed Visual FoxPro Driver on your… 2 min
- Dec 30, 2013 How to handle negative TimeSpan value in C#? I had problems with casting TimeSpan object to DateTime. Error occured: FormatException (“the input string was not in proper format”).Code I tried:DateTime.Parse(record.Field(“Hours”));… 1 min
- Jun 19, 2013 What is API and How to use it? Have you ever used a library in C#? Yes, that’s an API. An Application Programming Interface is something that let’s you interact… 2 min