¡@

Home 

c# Programming Glossary: vs

decimal vs double! - Which one should I use and when? [duplicate]

http://stackoverflow.com/questions/1165761/decimal-vs-double-which-one-should-i-use-and-when

vs double Which one should I use and when duplicate This question..

Public Fields versus Automatic Properties

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

on Jeff's blog explaining some differences. Properties vs. Public Variables Reflection works differently on variables.. Public Variables Reflection works differently on variables vs. properties so if you rely on reflection it's easier to use..

Direct casting vs 'as' operator?

http://stackoverflow.com/questions/132445/direct-casting-vs-as-operator

casting vs 'as' operator Consider the following code void Handler object..

Difference between ref and out parameters in .NET [duplicate]

http://stackoverflow.com/questions/135234/difference-between-ref-and-out-parameters-in-net

This question already has an answer here When to use ref vs out 6 answers What is the difference between ref and..

Volatile vs. Interlocked vs. lock

http://stackoverflow.com/questions/154551/volatile-vs-interlocked-vs-lock

vs. Interlocked vs. lock Let's say that a class has a public int.. vs. Interlocked vs. lock Let's say that a class has a public int counter field..

String vs string in C# [duplicate]

http://stackoverflow.com/questions/215255/string-vs-string-in-c-sharp

vs string in C# duplicate In C# what is the difference between.. . So technically there is no difference. It's like int vs. System.Int32 . As far as guidelines I think it's generally..

Returning IEnumerable<T> vs IQueryable<T>

http://stackoverflow.com/questions/2876616/returning-ienumerablet-vs-iqueryablet

IEnumerable T vs IQueryable T what is the difference between returning iqueryable.. T what is the difference between returning iqueryable vs ienumerable. IQueryable Customer custs from c in db.Customers..

In .NET, which loop runs faster, 'for' or 'foreach'?

http://stackoverflow.com/questions/365615/in-net-which-loop-runs-faster-for-or-foreach

foreach that is the question ASP.NET forum NET 1.1 C# for vs foreach Edit Apart from the readability aspect of it I am really..

Is there any significant difference between using if/else and switch-case in C#?

http://stackoverflow.com/questions/395618/is-there-any-significant-difference-between-using-if-else-and-switch-case-in-c

What is the benefit downside to using a switch statement vs. an if else in C#. I can't imagine there being that big of a..

Casting vs using the 'as' keyword in the CLR

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

vs using the 'as' keyword in the CLR I'm learning about design..

What's the @ in front of a string in C#?

http://stackoverflow.com/questions/556133/whats-the-in-front-of-a-string-in-c

between the following declarations string hello hello vs. string hello_alias @ hello Printing out on the console makes..

Properties vs Methods

http://stackoverflow.com/questions/601621/properties-vs-methods

vs Methods Quick question When do you decide to use properties..

What's the difference between String and string?

http://stackoverflow.com/questions/7074/whats-the-difference-between-string-and-string

. So technically there is no difference. It's like int vs. System.Int32 . As far as guidelines I think it's generally..

POCO vs DTO

http://stackoverflow.com/questions/725348/poco-vs-dto

vs DTO POCO Plain Old CLR or better Class Object DTO Data Transfer..

C#: Static readonly vs const

http://stackoverflow.com/questions/755685/c-static-readonly-vs-const

Static readonly vs const I've read around about const and static readonly fields...

What is the best choice for .net inter-process communication?

http://stackoverflow.com/questions/84855/what-is-the-best-choice-for-net-inter-process-communication

you take a look at WCF. Here is a blog that does a WCF vs Remoting performance comparison . A quote from the blog The..

Easier way to start debugging a windows service in C#

http://stackoverflow.com/questions/125964/easier-way-to-start-debugging-a-windows-service-in-c-sharp

there. When that line is reached it will drop me back to VS. Don't forget to remove that line when you are done. UPDATE..

No output to console from a WPF application?

http://stackoverflow.com/questions/160587/no-output-to-console-from-a-wpf-application

here I can reproduce it by creating a WPF application in VS 2008 and simply adding Console.WriteLine text anywhere that..

Where to learn about VS debugger 'magic names'

http://stackoverflow.com/questions/2508828/where-to-learn-about-vs-debugger-magic-names

to learn about VS debugger 'magic names' If you've ever used Reflector you probably..

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

App_Data directory. It's worth mentioning that from inside VS 2008 this file never appears in my project but it does exist.. capable processor. The development environment on both is VS 2008 Pro. The results on machine 2 come after a fresh install.. and cannot be loaded. I've checked the project settings in VS 2008 Pro and the .Net 3.5 framework is set as the target. CONFIGURATION..

How to install a windows service programmatically in C#?

http://stackoverflow.com/questions/358700/how-to-install-a-windows-service-programmatically-in-c

service programmatically in C# I have 3 projects in my VS solution. 1 is a web app the other is a windows service and..

Transparent images with C# WinForms

http://stackoverflow.com/questions/395256/transparent-images-with-c-sharp-winforms

WinForms I am working on a Windows Forms application in VS 2008 and I want to display one image over the top of another..

How to embed a text file in a .NET assembly?

http://stackoverflow.com/questions/433171/how-to-embed-a-text-file-in-a-net-assembly

hit Ctrl . after typing Resources to get the menu to get VS to do it for you . If something was unclear about the above..

the type or namespace name could not be found

http://stackoverflow.com/questions/4764978/the-type-or-namespace-name-could-not-be-found

the solution on a different computer with a fresh copy of VS 2010 I have done my homework and spent far too long looking..

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

does not show unhandled exception message in a WinForms.. create a new Windows Forms Application C# .NET Framework 4 VS2010 2 add the following code to the Form1_Load handler int vara.. 5 varb 0 int varc vara varb int vard 7 I would expect that VS breaks and shows an unhandled exception message at the second..

How do I make a WinForms app go Full Screen

http://stackoverflow.com/questions/505167/how-do-i-make-a-winforms-app-go-full-screen

that I am trying to make full screen somewhat like what VS does in full screen mode . Currently I am setting FormBorderStyle..

Very slow compile times on Visual Studio 2005

http://stackoverflow.com/questions/55517/very-slow-compile-times-on-visual-studio-2005

of our solution which has grown to 70 projects as well as VSS which is a bottle neck in itself when you have a lot of files... neck in itself when you have a lot of files. swapping out VSS is not an option unfortunately so I don't want this to descend.. unfortunately so I don't want this to descend into a VSS bash We are looking at merging projects not nice as we like..

What is the difference between const and readonly?

http://stackoverflow.com/questions/55984/what-is-the-difference-between-const-and-readonly

declare the value at the time of a definition for a const VS readonly values can be computed dynamically but need to be assigned..

C# documentation generator?

http://stackoverflow.com/questions/641364/c-sharp-documentation-generator

Is there a tool or is it tucked away somewhere in VS 2008 c# documentation generation share improve this question.. a comment with right above a class or class member and VS will insert some template documentation tags for you. share..

The name 'controlname' does not exist in the current context

http://stackoverflow.com/questions/706603/the-name-controlname-does-not-exist-in-the-current-context

application that I'm working on ASP.NET2.0 with C# using VS2005 . Everything was working fine and all of a sudden I get.. exclude the files from the project then re add them close VS and restart it and even restart my computer but none of these..

Debug VS Release in .net

http://stackoverflow.com/questions/90871/debug-vs-release-in-net

VS Release in .net Continuation to my previous question is any.. in Project Properties in Visual Studio. The differences in VS2005 include DEBUG constant defined in Debug configuration Optimize..

What's the use/meaning of the @ character in variable names in C#?

http://stackoverflow.com/questions/91817/whats-the-use-meaning-of-the-character-in-variable-names-in-c

set this.paramsField value I searched through the VS 2008 c# documentation but couldn't find anything about it. Also..

NUnit vs Visual Studio 2008's Test Projects for Unit Testing? [closed]

http://stackoverflow.com/questions/92869/nunit-vs-visual-studio-2008s-test-projects-for-unit-testing

work and want to get into unit testing. We will be using VS 2008 C# and the ASP.NET MVC stuff. I am looking at using either.. at using either NUnit or the built in test projects that VS2008 has but I am open to researching other suggestions. Is one.. share improve this question Daok named all the pro's of VS2008 test projects here are the pro's of NUnit. NUnit has a mocking..

.NET HashTable Vs Dictionary - Can the Dictionary be as fast?

http://stackoverflow.com/questions/1089132/net-hashtable-vs-dictionary-can-the-dictionary-be-as-fast

HashTable Vs Dictionary Can the Dictionary be as fast I am trying to figure..

Value Type Vs Reference Type - Object Class C#

http://stackoverflow.com/questions/1205444/value-type-vs-reference-type-object-class-c-sharp

Type Vs Reference Type Object Class C# if Value Types and Reference..

Why choose a static class over a singleton implementation?

http://stackoverflow.com/questions/1321352/why-choose-a-static-class-over-a-singleton-implementation

a static class over a singleton implementation The Static Vs. Singleton question has been discussed before many times in..

Asynchronous Delegates Vs Thread/ThreadPool?

http://stackoverflow.com/questions/1837962/asynchronous-delegates-vs-thread-threadpool

Delegates Vs Thread ThreadPool I need to execute 3 parallel tasks and after..

String Concatenation Vs String Builder Append

http://stackoverflow.com/questions/1972983/string-concatenation-vs-string-builder-append

Concatenation Vs String Builder Append So...I have this scenario where I have..

Static Vs Instance Method Performance C#

http://stackoverflow.com/questions/3016717/static-vs-instance-method-performance-c-sharp

Vs Instance Method Performance C# I have few global methods declared..

Static Class Vs. Class with private constructor and all static properties and methods?

http://stackoverflow.com/questions/323022/static-class-vs-class-with-private-constructor-and-all-static-properties-and-me

Class Vs. Class with private constructor and all static properties and..

In .NET, which loop runs faster, 'for' or 'foreach'?

http://stackoverflow.com/questions/365615/in-net-which-loop-runs-faster-for-or-foreach

grand old article by Emmanuel Schanzer CodeProject FOREACH Vs. FOR Blog To foreach or not to foreach that is the question..

?: Operator Vs. If Statement Performance

http://stackoverflow.com/questions/547249/operator-vs-if-statement-performance

Operator Vs. If Statement Performance I've been trying to optimize my code..

Why use System.Runtime.Caching or System.Web.Caching Vs static variables?

http://stackoverflow.com/questions/5986466/why-use-system-runtime-caching-or-system-web-caching-vs-static-variables

use System.Runtime.Caching or System.Web.Caching Vs static variables Long time listener first time caller. I am..

Data Adapter Vs Sql Command

http://stackoverflow.com/questions/6569012/data-adapter-vs-sql-command

Adapter Vs Sql Command Which one would be better in executing an insert..

Breadth First Vs Depth First

http://stackoverflow.com/questions/687731/breadth-first-vs-depth-first

First Vs Depth First When Traversing a Tree Graph what is the difference..

ICollection<T> Vs List<T> in Entity Framework

http://stackoverflow.com/questions/7655845/icollectiont-vs-listt-in-entity-framework

T Vs List T in Entity Framework I only watched a few webcasts before..

Form.ShowDialog() or Form.ShowDialog(this)?

http://stackoverflow.com/questions/816885/form-showdialog-or-form-showdialogthis

this question One annoyance I found with ShowDialog Vs ShowDialog this . Run the TestApp show the newform.ShowDialog..

Lambda Expression using Foreach Clause [duplicate]

http://stackoverflow.com/questions/858978/lambda-expression-using-foreach-clause

a technical limitation to the way C# iterates IEnumerables Vs. Lists... Is it something to do with the Deferred Execution's..

System.Web.HttpContext.Current.User.Identity.Name Vs System.Environment.UserName in ASP.Net/C#

http://stackoverflow.com/questions/8841816/system-web-httpcontext-current-user-identity-name-vs-system-environment-username

Vs System.Environment.UserName in ASP.Net C# What is the difference..