Skip to content

Programming Articles

  • HOME
  • Python
  • JavaScript
  • C/C++
  • Java
  • Terms & Conditions and Privacy Policy
  • About US
Main Menu

C#

C#

How to create an Excel (.XLS and .XLSX) file in C# without installing Microsoft Office?

You can use a library called ExcelLibrary. It’s a free, open source library posted on Google Code: ExcelLibrary This looks to be a port of the PHP ExcelWriter that you …

How to create an Excel (.XLS and .XLSX) file in C# without installing Microsoft Office? Learn More
C#

How to use reflection to call a generic method?

What’s the best way to call a generic method when the type parameter isn’t known at compile time, but instead is obtained dynamically at runtime? Consider the following sample code …

How to use reflection to call a generic method? Learn More
C# / Formatted Codes

How to cast int to enum in C#?

Query: How can an int be cast to an enum in C#? How to cast int to enum in C#? From an int: From a string: Update: From number you can also Answer #2: …

How to cast int to enum in C#? Learn More
.NET / C#

What is the difference between String and string in C#? [Answered]

Sample query: Example (note the case): What are the guidelines for the use of each? And what are the differences? What is the difference between String and string in C#? …

What is the difference between String and string in C#? [Answered] Learn More
C# / Formatted Codes

How to use reflection to call a generic method? [Answered]

Query explained: What’s the best way to call a generic method when the type parameter isn’t known at compile time, but instead is obtained dynamically at runtime? Consider the following …

How to use reflection to call a generic method? [Answered] Learn More
C#

How to update the GUI from another thread? C# [Answered]

Sample problem: Which is the simplest way to update a Label from another Thread? I have a Form running on thread1, and from that I’m starting another thread (thread2). While thread2 is processing some files I would like …

How to update the GUI from another thread? C# [Answered] Learn More
C#

What is an IndexOutOfRangeException / ArgumentOutOfRangeException and how do I fix it? | C# [Answered]

I have some code and when it executes, it throws a IndexOutOfRangeException, saying, Index was outside the bounds of the array. What does this mean, and what can I do about …

What is an IndexOutOfRangeException / ArgumentOutOfRangeException and how do I fix it? | C# [Answered] Learn More

Featured Posts

From UNIX to Linux – History of Linux

21st November 202010th September 2022

Best themes for Ubuntu: Make Ubuntu Beautiful

20th October 202010th September 2022

Strings in Python

12th September 202010th September 2022

Is Python hard to learn? Top best learning resources

18th April 202010th September 2022

Recent posts

  • How to pad a string with zeroes to the left?
  • What is the difference between process and thread?
  • How to generate a random alpha-numeric string in Java?
  • How to auto-resize an image to fit a ‘div’ container?
  • How to get a Docker container’s IP address from the host?
  • How to display a JavaScript object?
Copyright © 2023 Programming Articles.
Powered by WordPress and HitMag.