Problem : I’m developing an program using C# to manipulate an Excel document, and I’m using Microsoft.Office.Interop.Excel._Worksheet worksheet; When I […]
Tag: c#
redirect to another page from Silverlight
Problem : In side a Silverlight Page, I want to redirect to another aspx page in the same web site […]
How to get the current value of a Property Setting at run-time using a loop
Problem : I have a Property named A and it was set to the value AAA via the Properties Setting […]
Quickest way to find the complement of two collections in C#
Problem : I have two collections of type ICollection<MyType> called c1 and c2. I’d like to find the set of […]
Extracting a .NET Assembly from SQL Server 2005
Problem : I am trying to help a personal friend (who now also is a client) with a SQL CLR […]
How to cast an object value to Type values?
Problem : I have a type like this: public class TypeValue { public Type Type { get; private set; } […]
Multi-targeting .NET Framework 4 and Visual Studio 2012
Problem : I have installed Visual Studio 2012 Professional on my machine. I don’t have Visual Studio 2010 installed, but […]
How to get the digits before some particular word using regex in c#?
Problem : We will use below regex to get the digits before the words. Example : 838123 someWord 8 someWord […]
Is there a way to reliably detect the total number of CPU cores?
Problem : I need a reliable way to detect how many CPU cores are on a computer. I am creating […]
.NET Core – Is there a way to implement WinForms?
Problem : I’m currently making a bot for a discord server with Discord.NET and I’d like to create a WinForm […]