¡@

Home 

c# Programming Glossary: can't

Public Fields versus Automatic Properties

http://stackoverflow.com/questions/1180860/public-fields-versus-automatic-properties

rely on reflection it's easier to use all properties. You can't databind against a variable. Changing a variable to a property..

What are the pros and cons to keeping SQL in Stored Procs versus Code

http://stackoverflow.com/questions/15142/what-are-the-pros-and-cons-to-keeping-sql-in-stored-procs-versus-code

the sprocs probably aren't in source control and therefore can't be accessed via web based SCM browsers and so on. More cons..

Which .NET Dependency Injection frameworks are worth looking into? [closed]

http://stackoverflow.com/questions/21288/which-net-dependency-injection-frameworks-are-worth-looking-into

people love putting all the config in XML personally I can't bare it so I have stuck to StructureMap now. I can't comment.. I can't bare it so I have stuck to StructureMap now. I can't comment much on Ninject except that I listened to Nate on one.. set of Ninject screencasts by Justin Etheredge. I also can't see that retro fitting Ninject into existing above average code..

When to Use Static Classes in C#

http://stackoverflow.com/questions/241339/when-to-use-static-classes-in-c-sharp

the method contents as needed. As it's a static method we can't. Sure if we just need to add functionality either before or.. defined through interfaces for logic reasons. And since we can't override static methods static classes are useless when we need..

What are the correct version numbers for C#?

http://stackoverflow.com/questions/247621/what-are-the-correct-version-numbers-for-c

the correct version numbers for C# What came out when Why can't I find any answers about C# 3.5 This question is primarily to..

What C# mocking framework to use? [closed]

http://stackoverflow.com/questions/37359/what-c-sharp-mocking-framework-to-use

I've not used most of the ones you've listed so I can't be objective about it but I use Moq and it has been awesome...

Dynamic LINQ OrderBy on IEnumerable<T>

http://stackoverflow.com/questions/41244/dynamic-linq-orderby-on-ienumerablet

applies to LINQ to Objects expression trees for ORMs etc can't really represent dynamic queries MemberExpression doesn't support..

VS2010 does not show unhandled exception message in a WinForms Application on a 64-bit version of Windows

http://stackoverflow.com/questions/4933958/vs2010-does-not-show-unhandled-exception-message-in-a-winforms-application-on-a

at Microsoft are pointing fingers back and forth. DevDiv can't do anything about it Windows thinks it is the correct behavior..

Casting vs using the 'as' keyword in the CLR

http://stackoverflow.com/questions/496096/casting-vs-using-the-as-keyword-in-the-clr

of TargetType and TargetType is a value type then we can't use as with TargetType itself but we can use a nullable type.. may not know whether T is a reference type or not so you can't use as but they're relatively obscure. I've almost certainly..

Protect .NET code from reverse engineering?

http://stackoverflow.com/questions/506282/protect-net-code-from-reverse-engineering

from reverse engineering Obfuscation is one way but it can't protect from breaking the piracy protection security of the.. and how do I make sure that the registration mechanism can't be reverse engineered Also it is possible to convert a C# application.. reverse engineering share improve this question You can't. There are steps you can take to make it a little more difficult..

What is the difference between Decimal, Float and Double in C#?

http://stackoverflow.com/questions/618535/what-is-the-difference-between-decimal-float-and-double-in-c

decimal point as well the result of dividing 1 by 3 can't be exactly represented for example. As for what to use when.. For values which are more artefacts of nature which can't really be measured exactly anyway float double are more appropriate...

Is there a way to check if a file is in use?

http://stackoverflow.com/questions/876473/is-there-a-way-to-check-if-a-file-is-in-use

Understand your hesitation about using exceptions but you can't avoid them all of the time protected virtual bool IsFileLocked..

How can I detect the encoding/codepage of a text file

http://stackoverflow.com/questions/90838/how-can-i-detect-the-encoding-codepage-of-a-text-file

encoding globalization share improve this question You can't detect the codepage you need to be told it. You can analyse.. that can give some bizarre sometimes amusing results. I can't find it now but I'm sure Notepad can be tricked into displaying..

check if unmanaged dll is 32-bit or 64-bit?

http://stackoverflow.com/questions/1001404/check-if-unmanaged-dll-is-32-bit-or-64-bit

peHead 0x00004550 PE 0 0 little endian throw new Exception Can't find PE header MachineType machineType MachineType br.ReadUInt16..

A Simple C# DLL - how do I call it from Excel, Access, VBA, VB6?

http://stackoverflow.com/questions/1170794/a-simple-c-sharp-dll-how-do-i-call-it-from-excel-access-vba-vb6

but on browsing and selecting the compiled DLL the message Can't add a reference to the specified file. was thrown. Can anyone..

.Net Data structures: ArrayList, List, HashTable, Dictionary, SortedList, SortedDictionary — Speed, memory, and when to use each?

http://stackoverflow.com/questions/128636/net-data-structures-arraylist-list-hashtable-dictionary-sortedlist-sorted

of like a alias for a normal type array. Can enumerate. Can't grow automatically. I would assume very fast insertion and retriv...

Is there a way to return Anonymous Type from method?

http://stackoverflow.com/questions/1329672/is-there-a-way-to-return-anonymous-type-from-method

If you are interested in this workaround please read Can't return anonymous type from method Really . Disclaimer Even though..

MVVM Light & WPF - Binding Multiple instances of a Window to a ViewModel

http://stackoverflow.com/questions/16993433/mvvm-light-wpf-binding-multiple-instances-of-a-window-to-a-viewmodel

but since AdventurerView is a window it won't work it says Can't put a Window in a Style though the program still compiles and..

C# variance problem: Assigning List<Derived> as List<Base>

http://stackoverflow.com/questions/2033912/c-sharp-variance-problem-assigning-listderived-as-listbase

out by others IEnumerable Animal animals new List Giraffe Can't add a Lion to animals as `IEnumerable out T ` is a read only..

Silverlight, Wpf Web App (xbap) or Click Once? Pros and Cons

http://stackoverflow.com/questions/251718/silverlight-wpf-web-app-xbap-or-click-once-pros-and-cons

and Mac. You can update all your users apps easily. Cons Can't interact with client's file system etc Has less functionality.. Pros Full Wpf. Cons Single browser Requires full framework Can't interact with client's file system etc Single window Single..

How to ignore route in asp.net forms url routing

http://stackoverflow.com/questions/273447/how-to-ignore-route-in-asp-net-forms-url-routing

but transferred with MIME type text html. ReferenceError Can't find variable Sys Which I believe is because my routing is picking..

Some help understanding “yield”

http://stackoverflow.com/questions/317462/some-help-understanding-yield

yield return ParseHeader header What am I doing wrong Can't I use the yield in an iterator Then what's the point In the..

Can't get sql server compact 3.5 / 4 to work with ASP .NET MVC 2

http://stackoverflow.com/questions/3223359/cant-get-sql-server-compact-3-5-4-to-work-with-asp-net-mvc-2

get sql server compact 3.5 4 to work with ASP .NET MVC 2 I'm..

Can't instantiate a COM object written in C# from VBA (VB6 ok)

http://stackoverflow.com/questions/375457/cant-instantiate-a-com-object-written-in-c-sharp-from-vba-vb6-ok

instantiate a COM object written in C# from VBA VB6 ok Using..

Can't operator == be applied to generic types in C#?

http://stackoverflow.com/questions/390900/cant-operator-be-applied-to-generic-types-in-c

operator be applied to generic types in C# According to the..

.NET String to byte Array C#

http://stackoverflow.com/questions/472906/net-string-to-byte-array-c-sharp

explain why encoding should be taken into consideration. Can't I simply get what bytes the string has been stored in Why this..

How do I abort/cancel TPL Tasks?

http://stackoverflow.com/questions/4783865/how-do-i-abort-cancel-tpl-tasks

waiting 3s for the task to complete Thread.Sleep 3000 Can't wait anymore cancel this task ts.Cancel Console.ReadLine share..

Get connection string from App.config

http://stackoverflow.com/questions/6536715/get-connection-string-from-app-config

string app config share improve this question Can't you just do the following var connection System.Configuration.ConfigurationManager.ConnectionStrings..

No type inference with generic extension method

http://stackoverflow.com/questions/7171067/no-type-inference-with-generic-extension-method

for method ... cannot be inferred from the usage. Can't I use generic type parameters like this How would you resolve..

How to protect dlls?

http://stackoverflow.com/questions/805461/how-to-protect-dlls

written in C then I really should revise the above to You Can't But... There has been a market for obfuscation tools for a long..

Best way to really grok Java-ME for a C# guy [closed]

http://stackoverflow.com/questions/90578/best-way-to-really-grok-java-me-for-a-c-sharp-guy

Of course most IDEs can do that automatically. Gotcha #2 Can't I override You don't have to declare a method virtual in Java...

Send e-mail via SMTP using C#

http://stackoverflow.com/questions/9201239/send-e-mail-via-smtp-using-c-sharp

e mail via SMTP using C# Can't understand why this code is not working. I get an error saying..