Category: C Sharp

0

Debug Problems – ContextSwitchDeadlock –

While debugging an application written in C #, I found the following error, Context “ContextSwitchDeadlock”. The process waits to load a file in txt. ContextSwitchDeadlock detected Message: The CLR could not make the COM...

0

How to add double quotes in a string C # and Vb.Net

The following example shows how to save the word “Hello World” including double quotes in a string. C#(use prefix \)

VB.NET(Two single quotes together “”)

We hope its usefulness, regards

0

Get and set .ini file values c #

Suppose you have an .ini file with the following information:

The following functions will allow you to obtain and modify your configuration file in a simple way:

Mode of use

I...

0

Autoadjust images to the width sent by parameter

This function is very useful because it allows you to auto-dimension the images, just sending the image and the width as parameters.

regards

0

Read text file with Linq in C # and apply filters

The following method allows you to read a text file, apply filters and store it in a string list. References using System.Linq;using System.IO; File “test.txt“ VICTOR COMPUTERCLAUDIO COMPUTERFELIPE SAP CONSULTANT Code

The result...

Contáctenos