Skip to content
.Net DizzyCoding
.Net Question and Answer Documentation
MENU
  • Home

Tag: c#

BestPractice – Transform first character of a string into lower case

By StevePosted on March 28, 2023

Problem : I’d like to have a method that transforms the first character of a string into lower case. My […]

How to make streams from BLOBs available in plain old C# objects when using SqlDataReader?

By StevePosted on March 28, 2023

Problem : This is the scenario: We store files, e.g. relatively large documents (10-300MB), in blobs in our MSSQL database. […]

Should I catch all possible specific exceptions or just general Exception and wrap it in custom one?

By StevePosted on March 28, 2023

Problem : Let’s say I want to deserialize some XML file to a strongly typed object. In case this XML […]

What does messageBox.Show() do in order to stop the execution of a UI thread?

By StevePosted on March 28, 2023

Problem : In a WPF application, I am outputting messages to a text box and in between these messages I […]

Changing connection string at runtime in Enterprise Library

By StevePosted on March 28, 2023

Problem : Is there a way to change the connection string of a DataBase object in Enterprise Library at runtime? […]

Difference between Request.Cookies and Response.Cookies

By StevePosted on March 28, 2023August 30, 2022

Problem : I use both of these many times in my code and don’t really know what the difference is […]

Why Finalize method not allowed to override

By StevePosted on March 28, 2023September 1, 2022

Problem : I am new to .net ..and i am confused with the destructor mechanism in C# ..please clarify In […]

How to read a WebClient response after posting data?

By StevePosted on March 28, 2023

Problem : Behold the code: using (var client = new WebClient()) { using (var stream = client.OpenWrite(“http://localhost/”, “POST”)) { stream.Write(post, […]

The || (or) Operator in Linq with C#

By StevePosted on March 28, 2023

Problem : I’m using linq to filter a selection of MessageItems. The method I’ve written accepts a bunch of parameters […]

how can I convert IQueryable to string?

By StevePosted on March 27, 2023August 30, 2022

Problem : I do a sql query which returns a string – service name. this is the query: IQueryable<string> query […]

  • 1
  • 2
  • 3
  • 4
  • …
  • 794

Recent Posts

  • Attribute filter syntax for code coverage in TeamCity
  • Strings and Garbage Collection
  • WCF: How can I programmatically recreate these App.config values?
  • .NET 4.5 RC Framework CLR – Windows XP compatibility
  • FlowLayoutPanel – Automatic Width for controls?
  • System.Timers.Timer lifecycle
  • Performance cost of a try/catch block [duplicate]
  • Subsonic ORM experience
  • Will Reactive Extensions (Rx) supersede the Task Parallel Library?
  • Tools to profile function execution times of a .NET program
  • Web API: Content in HttpResponseMessage
  • Is there a better way to trim a DateTime to a specific precision?
  • How to bind ASP.NET Treeview control to a datatable?
  • Detected DLLs that are from the internet and “blocked” by CASPOL
  • How `[System.Console]::OutputEncoding/InputEncoding` with Python?
Proudly powered by WordPress / Php Dizzy Coding