

Decompile Code from a .NET Executable
We often lose the source code of the executables we build. If we have the executable with us, we can still retrieve the code using tools such as ILSpy. You
We often lose the source code of the executables we build. If we have the executable with us, we can still retrieve the code using tools such as ILSpy. You
We create a lot of break points during our development cycle and might get lost in them as well. One of the features of Visual Studio that is seldom used
We often compare two strings to the same case and then compare them to see if they are the same. Instead, we can use the StringComparison class’s InvariantCultureIgnoreCase property. String.Equals(‘stringOne’,
The unused namespaces in the class file are greyed out when you are viewing the file in Visual Studio Code editor. This way you can quickly remove unnecessary items using
There are cases in which you will find the need to have variables inside a LINQ query to hold an evaluation result. The Let keyword helps in this case. See
Use the string class’s constructor to specify the character and the number of times you want it to be repeated. Listing 1. Repeat String Characters String repeatedCharacterString = new String(‘*’,50);
.NET uses SSL3 as the default security protocol for communicating with vendor servers. You can override the default SecurityProtocol used in .NET by setting the TLS 1.2 version explicitly: ServicePointManager.SecurityProtocol
The InternalsVisibleTo?attribute of System.Runtime.CompilerServices?class allows you to expose internal methods of one assembly to another. All you have to do is to specify this in the assemblyinfo.cs?file of the assembly
The following query can be used to get details such as when the Stored Procedure was last updated???as well as its content. SELECT CREATED, LAST_ALTERED, SPECIFIC_NAME, ROUTINE_SCHEMA, ROUTINE_NAME, ROUTINE_DEFINITIONFROM lms_db.INFORMATION_SCHEMA.ROUTINES