ngen Hi! I have used ngen on an assembly exe file by writing ngen test.exe and it works. I just wonder how can I see if ngen has been run on an assembly(dll or exe) ? //Tony ... 17 Feb 2010 21:21
not CLSCompliant but the compilers is happy anyway Hi! Here I have a simple program that is not CLSCompliant because of two things 1. Two methods with same name but differ in case. 2. The program return an uint which should not be CLSCompliant As you can see I have declared the CLSCompliantAttribute as an assembly attribut but the compilers is happy and give... 18 Feb 2010 08:21
GroupBy Hello, I have the following lambda expression: return _context.Regions.SelectMany(r => r.Centers, (r, l) => new { r.Id, r.Name, Centers = r.Centers.Where(c => c.Open == true) }) .Where(o => o.Centers.Count() > 0) .OrderBy(o => o.Name) .Select(o => new Models.Region { I... 17 Feb 2010 04:30
Why am I getting a "TypeLoadException" Hi there, I have a fairly simple console app (.exe) in C# which runs fine in WinXP (32 bits) but under Windows Server 2008 (64 bit) I get the following error very early in the life of the app: System.TypeLoadException: Method 'MyMethod' in type 'MyClass' from assembly 'MyApp, Version=1.0.0.0, Culture=neutr... 16 Feb 2010 22:54
2.0 Threads, Join() and Invoke Hi, I just want to run several threads at the same time. The code below just hang because - I guess - it can't access the TextBox.Text method. What is wrong with tis code ?! Thanks. Melina. public class Report { public TextBox _log; private List<RptTemplate> _listeTemplate; ... 16 Feb 2010 18:23
Put a checkbox in the header of the datagridview Hi, How can I put a checkbox in the header of the datagridview? Thanks ... 16 Feb 2010 12:57
Linq to BindingList Hello. How can I send the result of a LINQ query to a BindingList? I say not to do this: <Customer> List lst = (from cust in select new dataContext.Customer Customer (cust)). ToList <Customer> (); foreach (Customer c in lst) lbindingListCust.Add (c); Any ideas? ... 16 Feb 2010 07:31
MSMQ ... authenticating application A number of application stores messages in MSMQ. One of the server application needs to read messages that was created/stored by specific applications not to read all the messages in MSMQ. Is there any workarounds? Thank you Regards Raj ... 16 Feb 2010 07:31
best deal with value pairs that contain duplicates Hi, I'm sorry if I'm asking for the obvious - my head is spinning a bit trying to learn this c# stuff. I have a list of paired values in the form of: stringA, string1 stringB, string2 stringC, string1 stringC, string3 stringD, string2 etc.. I need to store these value pairs into some kind of collectio... 17 Feb 2010 14:31
Is possible to run with framework n-1 when built with framework n Hi! Assume that you have an application that has been built with framework n and then the application is being deployed to a machine that has framework n-1. What happens ? //Tony ... 15 Feb 2010 17:48 |