Tag: .net

5605 What is the difference between String and string in C#? 2008-08-10T07:18:02.320

3258 How do I enumerate an enum in C#? 2008-09-19T20:34:50.797

2182 What are the correct version numbers for C#? 2008-10-29T17:09:40.230

1975 How do I get a consistent byte representation of strings in C# without manually specifying an encoding? 2009-01-23T13:39:54.407

1919 Deep cloning objects 2008-09-17T00:06:27.547

1878 What is a NullReferenceException, and how do I fix it? 2011-01-11T16:48:29.143

1850 Difference between decimal, float and double in .NET? 2009-03-06T11:31:23.103

1807 Should 'using' directives be inside or outside the namespace? 2008-09-24T03:49:50.173

1793 Catch multiple exceptions at once? 2008-09-25T20:56:08.513

1743 How do I calculate someone's age in C#? 2008-07-31T23:40:59.743

1639 Create Excel (.XLS and .XLSX) file from C# 2008-09-29T22:30:28.680

1445 Proper use of the IDisposable interface 2009-02-11T18:12:41.470

1376 Try-catch speeding up my code? 2012-01-19T15:10:57.040

1265 What is the best algorithm for an overridden System.Object.GetHashCode? 2008-11-04T20:53:19.927

1250 Why is Dictionary preferred over Hashtable? 2008-11-19T09:24:24.877

1240 How do I remedy the "The breakpoint will not currently be hit. No symbols have been loaded for this document." warning? 2010-01-28T16:09:10.027

1211 How do I update the GUI from another thread? 2009-03-19T09:37:40.090

1184 How to loop through all enum values in C#? 2009-06-09T20:25:04.640

1073 What is the difference between const and readonly? 2008-09-11T08:02:19.297

1067 Why not inherit from List<T>? 2014-02-11T03:01:36.297

1066 Path.Combine for URLs? 2008-12-16T21:42:26.937

952 Html.Partial vs Html.RenderPartial & Html.Action vs Html.RenderAction 2011-03-09T15:41:24.550

915 LINQ query on a DataTable 2008-08-14T10:08:27.123

884 How to escape braces (curly brackets) in a format string in .NET 2008-09-18T10:04:48.583

838 How can I get the application's path in a .NET console application? 2009-05-07T23:05:09.640

835 Group By Multiple Columns 2009-05-11T07:24:39.507

829 How to make HTTP POST web request 2010-10-25T14:05:58.070

821 Deserialize JSON into C# dynamic object? 2010-06-29T16:04:01.637

816 Escape curly brace '{' in String.Format 2010-09-22T21:44:19.330

813 How to mark a method as obsolete or deprecated? 2009-11-18T21:53:38.470

797 ASP.NET Web Site or ASP.NET Web Application? 2008-12-29T16:24:13.090

797 How and when to use ‘async’ and ‘await’ 2013-01-22T09:29:58.633

789 What are differences between AssemblyVersion, AssemblyFileVersion and AssemblyInformationalVersion? 2008-09-15T16:47:38.453

789 Error - Unable to access the IIS metabase 2012-10-12T13:15:03.270

784 How to convert UTF-8 byte[] to string? 2009-06-16T18:47:00.180

778 Sending email in .NET through Gmail 2008-08-28T13:28:38.147

774 Entity Framework vs LINQ to SQL 2008-08-12T11:04:11.677

756 How can I generate random alphanumeric strings? 2009-08-27T23:07:24.883

756 How do I force my .NET application to run as administrator? 2010-05-12T11:09:50.023

746 Most Useful Attributes 2008-09-28T00:16:08.990

738 How to enable assembly bind failure logging (Fusion) in .NET 2008-11-01T08:58:30.200

733 Best way to parse command line arguments in C#? 2009-01-29T13:33:28.240

722 Is there a way to check if a file is in use? 2009-05-18T06:37:40.640

711 How do you sort a dictionary by value? 2008-08-02T00:40:58.200

708 When to use .First and when to use .FirstOrDefault with LINQ? 2009-06-21T19:15:29.933

698 .NET String.Format() to add commas in thousands place for a number 2008-09-19T21:26:21.643

682 How do I get the path of the assembly the code is in? 2008-09-09T20:12:28.340

680 How do I turn a C# object into a JSON string in .NET? 2011-06-01T12:59:21.500

662 Easiest way to split a string on newlines in .NET? 2009-10-10T09:25:56.787

650 Reading settings from app.config or web.config in .net 2009-07-27T16:58:44.830

647 Best way to repeat a character in C# 2009-01-04T21:56:59.597

643 In C#, what is the difference between public, private, protected, and having no access modifier? 2009-03-05T13:48:38.163

638 In C#, should I use string.Empty or String.Empty or "" to intitialize a string? 2008-11-04T19:49:02.973

621 Encrypt and decrypt a string in C#? 2008-10-14T17:07:32.963

621 LINQ Aggregate algorithm explained 2011-08-18T09:51:21.597

620 MetadataException: Unable to load the specified metadata resource 2009-03-27T11:15:08.300

614 How do I save a stream to a file in C#? 2009-01-04T20:04:39.573

605 How can I get the assembly file version 2009-05-26T08:19:03.553

596 Get a new object instance from a Type 2008-08-03T16:29:03.607

589 How do I convert struct System.Byte byte[] to a System.IO.Stream object in C#? 2011-01-19T14:08:58.357

581 Implementing INotifyPropertyChanged - does a better way exist? 2009-08-22T09:34:25.690

577 C# Interfaces. Implicit implementation versus Explicit implementation 2008-09-27T10:56:16.430

577 How to get the type of T from a member of a generic class or method? 2009-02-17T15:24:36.940

572 What is the correct way to create a single-instance WPF application? 2008-08-21T00:33:59.453

564 DateTime vs DateTimeOffset 2010-12-02T02:39:34.567

561 Using LINQ to remove elements from a List<T> 2009-05-12T15:56:24.570

554 How to read embedded resource text file 2010-07-22T22:51:15.427

551 How do I round a decimal value to 2 decimal places (for output on a page) 2008-10-02T22:41:56.833

545 Pass Method as Parameter using C# 2010-01-17T21:01:01.313

545 C# Split A String By Another String 2010-02-11T15:24:15.950

534 How to delete all files and folders in a directory? 2009-08-17T15:48:19.233

533 How do I use WPF bindings with RelativeSource? 2008-09-17T15:10:53.583

530 What's the difference between struct and class in .NET? 2008-08-16T08:21:47.947

529 What are the true benefits of ExpandoObject? 2009-10-31T01:09:42.637

517 Metadata file '.dll' could not be found 2009-09-14T14:19:59.547

510 Order of items in classes: Fields, Properties, Constructors, Methods 2008-09-29T20:23:21.793

510 Which method performs better: .Any() vs .Count() > 0? 2008-11-20T12:11:19.003

510 How do I make a textbox that only accepts numbers? 2009-01-20T21:55:01.070

508 How do I convert an enum to a list in C#? 2009-07-22T18:48:33.223

506 What 'additional configuration' is necessary to reference a .NET 2.0 mixed mode assembly in a .NET 4.0 project? 2010-03-16T15:26:55.223

505 How do you do a deep copy of an object in .NET (C# specifically)? 2008-09-24T19:39:39.750

505 In WPF, what are the differences between the x:Name and Name attributes? 2009-02-26T09:53:21.610

503 Embedding DLLs in a compiled executable 2008-10-09T23:11:54.007

493 Array versus List<T>: When to use which? 2009-01-12T08:08:33.237

491 How to get the list of properties of a class? 2009-04-10T09:29:55.393

491 System.Timers.Timer vs System.Threading.Timer 2009-09-13T03:56:10.070

491 Is there anything like .NET's NotImplementedException in Java? 2010-02-24T20:44:28.530

489 What is the difference between .NET Core and .NET Standard Class Library project types? 2017-03-21T22:34:24.367

488 How do I get the current username in .NET using C#? 2009-08-06T17:40:27.813

483 What's the @ in front of a string in C#? 2009-02-17T09:54:17.500

482 What is the difference between ManualResetEvent and AutoResetEvent in .NET? 2008-09-30T16:33:21.510

478 What are your favorite extension methods for C#? (codeplex.com/extensionoverflow) 2008-11-07T06:47:21.787

476 How do you get a string from a MemoryStream? 2008-09-16T23:02:01.587

470 Func delegate with no return type 2009-05-27T19:21:42.033

469 How can I convert String to Int? 2009-06-19T20:02:43.877

468 Unable to update the EntitySet - because it has a DefiningQuery and no <UpdateFunction> element exist 2011-09-28T13:09:36.123

465 C# Equivalent of SQL Server DataTypes 2009-01-08T18:51:08.753

456 How do you unit test private methods? 2008-10-30T15:49:12.340

456 Difference between InvariantCulture and Ordinal string comparison 2009-01-29T18:21:45.257