C# is a multiparadigm, managed, garbage-collected object-oriented programming language created by Microsoft in parallel with the .NET platform
0
votes
2answers
84 views
IL and case-sensitivity
Quoted from A Brief Introduction To IL code, CLR, CTS, CLS and JIT In .NET
CLS stands for Common Language Specifications. It is a subset of CTS.
CLS is a set of rules or guidelines which if ...
-1
votes
0answers
30 views
MSM Merge Modules in Visual Studio 2013 [on hold]
Could someone please let me know where I might find resources for creating MSM files? While I am able to create MSI files using InstallShield, it seems that Visual Studio no longer supports Merge ...
-3
votes
0answers
29 views
Unable to update the database using my update method [on hold]
When I run my update method all the fields in the database turn to NULL. I think it has something to do with the (!IsPtback).
How to do I use the (!IsPtback) to stop this from happening?
-1
votes
1answer
158 views
Would you go by WPF or WinForms? [on hold]
Consider the following project facts/requirements:
Desktop app with try icon and notification system
Forms over data
Quick response needed
Internal app in big corporation planned to be hosted ...
0
votes
1answer
184 views
How many developers on the same virtualized Windows Microsoft machine?
How many c# developers on the same virtualized Microsoft Windows edition is it sensible to have?
If everyone uses their own documents and settings folder, should I expect it should be fine?
Only ...
-1
votes
0answers
39 views
where i can find shipping logistics samples and documentation [on hold]
My Company Wants To build a shipping logistics and marine services software using Microsoft WPF ,So i was wondering if there's any online samples or documentation to start with and have an idea how ...
17
votes
5answers
1k views
Why can't Java/C# implement RAII?
Question:
Why can't Java/C# implement RAII?
Clarification:
I am aware the garbage collector is not deterministic. So with the current language features it is not possible for an object's Dispose() ...
1
vote
0answers
51 views
KnownType Not sufficient for Inclusion [migrated]
Why isn't the use of KnownType attribute in C# sufficient for inclusion of a DLL? Working with Visual Studio 2012 with TFS responsible for builds, I am on a project in which a service required use of ...
10
votes
4answers
758 views
Is linq more efficient than it appears on the surface?
If I write something like this:
var things = mythings
.Where(x => x.IsSomeValue)
.Where(y => y.IsSomeOtherValue)
Is this the same as:
var results1 = new List<Thing>();
...
0
votes
3answers
194 views
When should method overloads be refactored?
When should code that looks like:
DoThing(string foo, string bar);
DoThing(string foo, string bar, int baz, bool qux);
...
DoThing(string foo, string bar, int baz, bool qux, string more, string ...
1
vote
1answer
28 views
Optimising news fetching
I have a web scraper for scraping news from different sources in wp7. My current appraoch for doing this is:
load newspapers information from xml file.
go to the specified sections and fetch the ...
0
votes
0answers
65 views
Elo system behaves oddly in program I've created [closed]
Alright, so I'm looking to build a small program (C# and XAML) that, essentially, does this:
Generate array of players. Each player has a current rating and a true rating. I set current rating to ...
9
votes
2answers
339 views
How are generics implemented?
This is the question from compiler internals perspective.
I am interested in generics, not templates (C++), so I marked the question with C#. Not Java, because AFAIK the generics in both languages ...
0
votes
2answers
137 views
Getting the relational table data into XML recursively
I have levels of tables (Level1, Level2, Level3, ...) For simplicity, we'll say I have 3 levels.
The rows in the higher level tables are parents of lower level table rows. The relationship does not ...
0
votes
0answers
22 views
How do I POST XML generated to a URL in C# [migrated]
I am trying to send XML generated to an URL, I keep getting error with HttpWebResponse:
The remote server returned an error:(417) Expectation failed
This is my code.
//POST to URL
...