tagged [.net-3.5]
Is there support for a POP3 client using C# in the .Net Framework?
Is there support for a POP3 client using C# in the .Net Framework? Is there support for POP3 client in the .net framework? If so, please tell me it's name as I have been searching for it, but I was un...
Check that all items of IEnumerable<T?> has the same value using LINQ
Check that all items of IEnumerable has the same value using LINQ I have a nullable type, e.g. `SomeEnum?` and a set of values, e.g. `IEnumerable`. How to check that all items has the same value using...
- Modified
- 7 Jul at 19:47
How to do streaming read of a large XML file in C# 3.5
How to do streaming read of a large XML file in C# 3.5 How can you do a streaming read on a large XML file that contains a xs:sequence just below root element, without loading the whole file into a XD...
Which is the best book out there to learn Linq, including Linq to Entities?
Which is the best book out there to learn Linq, including Linq to Entities? I heard lots of reviews on the book Linq in Action, but it does not cover Linq to Entities. Please provide your feedback on ...
- Modified
- 13 Jan at 11:59
How can I convert an integer into its verbal representation?
How can I convert an integer into its verbal representation? Is there a library or a class/function that I can use to convert an integer to it's verbal representation? Example input: > 4,567,788` Exam...
Given 3 points, how do I calculate the normal vector?
Given 3 points, how do I calculate the normal vector? Given three 3D points (A,B, & C) how do I calculate the normal vector? The three points define a plane and I want the vector perpendicular to this...
Get first element from a dictionary
Get first element from a dictionary I have the following declaration: I need to get the first element out, but do not know the key or value. What's the best way to do this?
Can I have my assembly reference any version of another assembly?
Can I have my assembly reference any version of another assembly? - `MyClassLibrary`- `ThirdPartyClassLibrary`- `ThirdPartyClassLibrary``ThirdPartyClassLibrary`- `ThirdPartyClassLibrary`- `ThirdPartyC...
Concat all strings inside a List<string> using LINQ
Concat all strings inside a List using LINQ Is there any easy LINQ expression to concatenate my entire `List` collection items to a single `string` with a delimiter character? What if the collection i...
Shortest way to create a List<T> of a repeated element
Shortest way to create a List of a repeated element With the String class, you can do: What's the shortest way to create a List that is full of `n` elements which are all the same reference?
Convert List of objects to List of interfaces
Convert List of objects to List of interfaces if i have objectA that implements ISomeInterface why can't i do this: why can't i stick in list into the interfaceList constructor ? Is there any workarou...
What is the difference between IQueryable<T> and IEnumerable<T>?
What is the difference between IQueryable and IEnumerable? What is the difference between `IQueryable` and `IEnumerable`? --- See also [What's the difference between IQueryable and IEnumerable](https:...
- Modified
- 23 May at 12:26
Get the calling function name from the called function
Get the calling function name from the called function > [How can I find the method that called the current method?](https://stackoverflow.com/questions/171970/how-can-i-find-the-method-that-called-t...
Change the Textbox height?
Change the Textbox height? Neither of the below work: or I wanted to be able to change the single line text box height to fit a font size on it without using multi-line if possible.
How do I incrementally serialize and deserialize JSON with ServiceStack?
How do I incrementally serialize and deserialize JSON with ServiceStack? What I have is this: How do I read the fields until I'm at 'object', then serialize the whole 'object' into a .NET type and the...
- Modified
- 27 Mar at 09:11
LINQ to SQL in and not in
LINQ to SQL in and not in What is `in` and `not in` equals in [LINQ to SQL](http://en.wikipedia.org/wiki/Language_Integrated_Query#LINQ_to_SQL)? For example What is equal to the above statement in LIN...
Understanding Lambda expressions and delegates
Understanding Lambda expressions and delegates I have been trying to figure this out for quite sometime (reading online blogs and articlaes), but so far unsuccessful. What are delegates? What are Lam...
What does "=>" mean?
What does "=>" mean? Forgive me if this screams newbie but what does `=>` mean in C#? I was at a presentation last week and this operator (I think) was used in the context of ORM. I wasn't really payi...
How can I schedule tasks in a WinForms app?
How can I schedule tasks in a WinForms app? QUESTION: How can I schedule tasks in a WinForms app? That is either (a) what is the best approach / .NET classes/methods to use of (b) if there is an open...
- Modified
- 22 Mar at 04:18
How do I return the first string variable that isn't null or empty
How do I return the first string variable that isn't null or empty If I have 5 String variables and between 0 and 5 of them are null or empty is there an easy/short way of returning the first one that...
How do I determine which monitor my winform is in?
How do I determine which monitor my winform is in? I have been up and down this site and found a lot of info on the Screen class and how to count the number of monitors and such but how do I determine...
Generic method with multiple constraints
Generic method with multiple constraints I have a generic method which has two generic parameters. I tried to compile the code below but it doesn't work. Is it a .NET limitation? Is it possible to hav...
Fixed Length numeric hash code from variable length string in c#
Fixed Length numeric hash code from variable length string in c# I need to store fixed-length (up to 8 digits) numbers produced from a variable length strings. The hash need not be unique. It just nee...