To get the current location of device, you have to add reference to System.Device DLL. GeoCoordinateWatcher class supplies location data […]
Updated on Kisan Patel
Problem: Encrypting & Decrypting a String in C# Decrypting PKCS#7 encrypted data in C# Encrypt string with Bouncy Castle AES/CBC/PKCS7 […]
Updated on Kisan Patel
Frequently asked C# interview questions and answers for Experienced. 1. What is the difference between strong typing and weak typing […]
Updated on Kisan Patel
This sample uses the JsonIgnoreAttribute to exclude a property from serialization. public class Account { public string FullName { get; […]
Updated on Kisan Patel
How to serialize a class object into JSON format using the JsonConvert class. JsonConvert.SerializeObject(item) Note: you have to include the […]
Updated on Kisan Patel
Problem: How to find a string included between two characters? Looping through Regex Matches How to use Regex to get […]
Updated on Kisan Patel
Add the below code in StartUp.Configure public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory, FinOsDbContext context) { …. var cultureInfo […]
Updated on Kisan Patel
Problem: Unable to load DLL ‘SqlServerSpatial110.dll’: The specified module could not be found. Unable to load SqlServerSpatial.dll Solution: Solution 1 […]
Updated on Kisan Patel
Problem: How to detect changes in any control of the windows form in C#? detect changes in windows form c# […]
Updated on Kisan Patel
Problem: Find a row in dataGridView based on column and value Datagridview full row selection but get single cell value […]
Updated on Kisan Patel