Explore C# on Experts Exchange

Expert Solutions for Your Tech Problems

C#

C# is an object-oriented programming language created in conjunction with Microsoft’s .NET framework. Compilation is usually done into the Microsof...

Read more
  • 96K Content
  • 11K Contributors

Expert Spotlight
Co-Founder and Chief Architect

Does a little bit of everything, but specifically likes working with Powershell, C#, and MSSQL.  Lives in space in an orbiting castle.

Troubleshooting Solution

excel cannot complete this task with available resources

bymcrmg
78
Hi,

I use Powershell to combine about 900 csv files then convert to an Excel file. It has been fine …
Article

The var keyword

15
Introduction
                                               
Was the var keyword really …
Post

200 universities just launched 560 free online courses. …

200 universities just launched 560 free online courses. Here’s the full list
Article

Async and Multi-Threading in C# in Plain English

5
A lot of developers have the wrong ideas about async code and multi-threading and how it all works, or how to use it. Here, you'll learn the differences between the two concepts and implement each one in C#.
Article
If Else

Logical Expressions in .NET

For many programmers something like: if (someState != someOtherState && someState == someOtherOtherState || someState == someOtherOtherOtherState) { .... } Is a common pattern. I am here to discuss alternatives to this pattern which will reduce *code smells* within code analyzers.
Post

Andy's VMware vSphere tip#19: vSphere Clients :- need to …

Andy's VMware vSphere tip#19: vSphere Clients :- need to find and download the older legacy C#, …
Troubleshooting Solution

Proper use of Application.Doevents in C#

42
I have a button on a winform in C#. The code looks like this          

lblBankTrxs.Text = "Begin …
Troubleshooting Solution

itextsharp text exceptions invalidpdfexception pdf header signature not found

31
I have the following where I am converting the bytes to pdf
Getting an error saying  PDF header …
Troubleshooting Solution

How to copy a List<string> in C# .NET5

6
I am attempting to copy a List<string> into a temporary variable to work on.  However, when I call …
Troubleshooting Solution

How do I get the unique ID after insert?

87
Hi - thanks for looking.

I need to be able to capture the unique key once I have done an INSERT …
Research Solution

How do i use the Web for customers to register their software and maintain a yearly subscription?

9
I developed an application in MS Access. It is a tool that is 24 years old and I use it every day. I …
Troubleshooting Solution

linq syntax error

bylulu50
11
Hi,

all I want to do is select FromDate value and store it in the FromDate parameter.

I can't fix my …
Troubleshooting Solution

C# running background worker executes twice

12
I am trying to use background worker for the first time. The problem I am having is that the code …
Troubleshooting Solution

Async method not returning:  DescribeAsync<JObject>()

19
public async Task<JObject> GetGlobalObjectDescription(string sObjectName) { …
Troubleshooting Solution

Replacing "\" in C#

16
I want to replace "\" into "\\" in C# to check an existing path.

Example:

    string s = "c:\temp";
    …
Research Solution

TSQL Script that can identify SSIS packages that using SSL certificates in their operations.

byZack
15
Hi EE,

Are there any TSQL Scripts that can identify SSIS packages that using SSL certificates in …
Troubleshooting Solution

Publish VS Web Site to GoDaddy

34
I have a very simple web site that I've developed in VS 2019 Community, using C#,  and I want to …
Troubleshooting Solution

VisualStudio is adding characters to filename rendering it unusable

31
I'm working in Visual Studio using razor.  I have a file, "AllCodes.txt."  I want to open that file, …
Troubleshooting Solution

C# when to use static method vs non static method.

7
Hi experts I'm new to C# and am just getting my head around methods and when to use a static method …
Troubleshooting Solution

DataSet to JSON file and back from JSON file to DataSet

21
Hi all, I'm trying to send a dataset to a JSON file and than back to a dataset in C#.  The file …

Do more with Experts Exchange.


Get Answers

Join a Group Discussion

Collaborate

Monitor your Site

Explore solutions and more