What do you want to save?
Add Code snippet
New code examples
-
-
C# 2021-11-06 09:41:15
how to take user input in string in c#
//for user input in C#, you need to first declare the variable //suppose we are going to take a input from the user string username = Console.Readline() ; Console.Writeline= (" your name is " + username); //input Sadmansaqib // Output your ... Add solution -
SQL 2021-10-29 15:21:14
sql to model c#
Generate C# class from SQL Server table without Store Procedure Is there any way to generate a class for table in SQL Server without adding table in project with ADO.net Entity Framework? enter image description here public class Approval { pub... Add solution -
C# 2021-10-24 07:18:13
Exception thrown: 'System.FormatException' in mscorlib.dll dates
/* Just putting this here for myself, but maybe it will help someone else too: If this error occurs when you are importing data from Excel, it is possible that your computer's regional settings are incorrect. Try using ExactParse if in C# , and if ther... Add solution -
C# 2021-10-17 09:48:05
c# enum variable set to nonthing
An enum is a "value" type in C# (means the the enum is stored as whatever value it is, not as a reference to a place in memory where the value itself is stored). You can't set value types to null (since null is used for reference types only). T... Add solution