c# Programming Glossary: thoughts
ASP.NET C# Static Variables are global? http://stackoverflow.com/questions/1563171/asp-net-c-sharp-static-variables-are-global to stop the variable being set read by everyone. Any thoughts Thanks c# asp.net static variables share improve this question..
switch / pattern matching idea http://stackoverflow.com/questions/156467/switch-pattern-matching-idea to be a major bottleneck in most use cases. I welcome any thoughts input critique etc on the above or on the possibilities of richer..
What to use: var or object name type? [duplicate] http://stackoverflow.com/questions/236878/what-to-use-var-or-object-name-type I mean is... just like the example above what are your thoughts c# .net 3.5 c# 3.0 anonymous objects share improve this question..
When to Use Static Classes in C# http://stackoverflow.com/questions/241339/when-to-use-static-classes-in-c-sharp c# class static share improve this question I wrote my thoughts of static classes in an earlier thread http stackoverflow.com..
How to avoid Dependency Injection constructor madness? http://stackoverflow.com/questions/2420193/how-to-avoid-dependency-injection-constructor-madness feels like I'm using a glorified static. Please share your thoughts on IoC and Dependency Injection madness. c# java dependency..
Default string initialization: NULL or Empty? [closed] http://stackoverflow.com/questions/265875/default-string-initialization-null-or-empty and why Edit Based on the answers I futher my further thoughts Avoiding error handling If the value shouldn't be null why did..
BackgroundWorker RunWorkerCompleted Event http://stackoverflow.com/questions/2806814/backgroundworker-runworkercompleted-event I am using Microsoft Visual C# 2008 Express Edition. Any thoughts or suggestions you may have would be appreciated. Thanks. c#..
Under what circumstances is an SqlConnection automatically enlisted in an ambient TransactionScope Transaction? http://stackoverflow.com/questions/2884863/under-what-circumstances-is-an-sqlconnection-automatically-enlisted-in-an-ambien even if rollback the current transaction scope Yes If my thoughts are correct all of the above is disturbing because it would..
how to make a wizard with ASP.Net MVC http://stackoverflow.com/questions/297148/how-to-make-a-wizard-with-asp-net-mvc ASP.Net MVC edit My boss is now saying no javascript any thoughts on how to get around that restriction c# .net asp.net mvc wizard..
What requirement was the tuple designed to solve? http://stackoverflow.com/questions/3089706/what-requirement-was-the-tuple-designed-to-solve in hypothetical future versions of C#. If anyone has any thoughts on what sort of features involving tuples you'd like to see..
Pulling a View from a database rather than a file http://stackoverflow.com/questions/3367106/pulling-a-view-from-a-database-rather-than-a-file is in my DbVirtualFile god I hope this makes sense any thoughts out there Final It works. I just didn't add the inherits to..
c# covariant return types utilizing generics http://stackoverflow.com/questions/4348760/c-sharp-covariant-return-types-utilizing-generics asked using the correct type algebra jargon a few more thoughts on the actual question. The obvious first problem is that the..
Entity Framework 4 Delete Object from entity collection http://stackoverflow.com/questions/4922228/entity-framework-4-delete-object-from-entity-collection empty a collection of a relationship. Thank you for your thoughts. c# entity framework 4 share improve this question The..
Large Switch statements: Bad OOP? http://stackoverflow.com/questions/505454/large-switch-statements-bad-oop switch statement really the way to go I'd appreciate your thoughts opinions or comments. c# oop design patterns share improve..
Should we select VB.NET or C# when upgrading our legacy applications? [closed] http://stackoverflow.com/questions/507291/should-we-select-vb-net-or-c-sharp-when-upgrading-our-legacy-applications stricter compiler . I am however very interested in the thoughts of my peers before I make a decision. So if you have done this..
No type inference with generic extension method http://stackoverflow.com/questions/7171067/no-type-inference-with-generic-extension-method with the Until at the end wouldn't work. If you have any thoughts on the API in general please let me know. However I want to..
To return IQueryable<T> or not return IQueryable<T> http://stackoverflow.com/questions/718624/to-return-iqueryablet-or-not-return-iqueryablet repository but not over the boundary. I posted some more thoughts on this theme here . It is just as easy to put paging parameters..
How do I determine the owner of a process in C#? http://stackoverflow.com/questions/777548/how-do-i-determine-the-owner-of-a-process-in-c the Process class to determine who owns that process Any thoughts on how I can do this c# share improve this question You..
How to convert a String to its equivalent Expression Tree? http://stackoverflow.com/questions/821365/how-to-convert-a-string-to-its-equivalent-expression-tree Person bool on the object instance. Here are my current thoughts Implement a basic grammar in ANTLR to support basic Comparison..
Restoring Window Size/Position With Multiple Monitors http://stackoverflow.com/questions/937298/restoring-window-size-position-with-multiple-monitors monitor then it correctly moves it to monitor 1. Any thoughts My environment C# .NET 3.5 or below VS2008 c# winforms multiple..
Bluetooth in C#, Which stack, Which SDK? http://stackoverflow.com/questions/1057220/bluetooth-in-c-which-stack-which-sdk Expensive and potentially overkill More complex API Thoughts In terms of SDK for C# was looking at Franson Bluetools anyone..
How to authenticate client application for trust of messages sent from it http://stackoverflow.com/questions/1138831/how-to-authenticate-client-application-for-trust-of-messages-sent-from-it is our application and not just an impersonator. Some Thoughts The code will be written in C# and be running in a SilverLight..
Are there .NET Framework methods to parse an email (MIME)? http://stackoverflow.com/questions/1669797/are-there-net-framework-methods-to-parse-an-email-mime do something like MailMessage msg MailMessage.Parse text Thoughts c# .net email parsing mime share improve this question ..
C# UserControl Constructor with Parameters http://stackoverflow.com/questions/1784303/c-sharp-usercontrol-constructor-with-parameters control twice I feel like I must be doing something wrong. Thoughts Opinions Assurance hopefully c# winforms parameters constructor..
C# Generics won't allow Delegate Type Constraints http://stackoverflow.com/questions/191940/c-sharp-generics-wont-allow-delegate-type-constraints the same definition for different types of functions. Thoughts c# generics events delegates constraints share improve this..
Dependency Inject (DI) “friendly” library http://stackoverflow.com/questions/2045904/dependency-inject-di-friendly-library non DI and contain the coupling to those few factories. Thoughts c# dependency injection inversion of control share improve..
ObservableCollection that also monitors changes on the elements in collection http://stackoverflow.com/questions/269073/observablecollection-that-also-monitors-changes-on-the-elements-in-collection event that is fired instead inside ContainerElementChanged Thoughts EDIT Should note that the BCL ObservableCollection only exposes..
Best practice of using the “out” keyword in C# http://stackoverflow.com/questions/413218/best-practice-of-using-the-out-keyword-in-c-sharp will always be of interest to the caller by design. Thoughts c# .net share improve this question There is a reason that..
deserializing JSON to .net object using NewtonSoft (or linq to json maybe?) http://stackoverflow.com/questions/4749639/deserializing-json-to-net-object-using-newtonsoft-or-linq-to-json-maybe maybe Newtonsoft's Linq to JSON might be a better choice Thoughts Links Here is an example of the JSON return data page 1 total_pages..
How do I create a TabControl with no tab headers? http://stackoverflow.com/questions/4912354/how-do-i-create-a-tabcontrol-with-no-tab-headers ref m Code sample originally taken from Dot Net Thoughts . Note that this will not work properly for tab headers positioned..
Deleting database from C# http://stackoverflow.com/questions/5170429/deleting-database-from-c-sharp guidance on what SQL statements I would use to do this. Thoughts Thx in advance D EDIT By Software Monkey from OP's rejected..
Convert DataTable to generic List? http://stackoverflow.com/questions/545328/convert-datatable-to-generic-list doing something where we need to Garbage collect Ourselves Thoughts Why we think there might be a leak We are getting Out of Memory..
How to programmatically create Windows user accounts on Windows 7 or Windows Server 2008? http://stackoverflow.com/questions/5984600/how-to-programmatically-create-windows-user-accounts-on-windows-7-or-windows-ser saying The underlying store does not support this property Thoughts c# windows 7 share improve this question OK if you check..
How to avoid a database race condition when manually incrementing PK of new row http://stackoverflow.com/questions/698366/how-to-avoid-a-database-race-condition-when-manually-incrementing-pk-of-new-row insert by getting yet another max id 1. Can this be done Thoughts Comments Wisdom Thank you NOTE What if I cannot change the database..
Could not establish trust relationship for SSL/TLS secure channel — SOAP http://stackoverflow.com/questions/703272/could-not-establish-trust-relationship-for-ssl-tls-secure-channel-soap lost c# .net ssl trust share improve this question Thoughts based on pain in the past do you have DNS and line of sight..
Anyone know a good workaround for the lack of an enum generic constraint? http://stackoverflow.com/questions/7244/anyone-know-a-good-workaround-for-the-lack-of-an-enum-generic-constraint HasFlag or HasFlags IsSet it's certainly an option Thoughts welcome. I'm sure it'll be a while before anything's set in..
Enum “Inheritance” http://stackoverflow.com/questions/757684/enum-inheritance but still let an instance of that class access the enum. Thoughts EDIT One of the reasons I haven't just switched this to consts..
|