Below is the code which can help you to copy all the folders and files of a directory to a backup folder inside it. Let's create a helper class to do the same: #region Using Directives using Syste...
Today I was in a need where I had to get stack trace inside a method. I was not throwing any exception in that method an therefore I was not having any exception object from where I could get the stac...
While working with our application I wanted to list all the stored procedures having some particular text. I decided to share the query which I used to do that: SELECT * FROM sys.procedures WHERE name...