¡@

Home 

c# Programming Glossary: questions

How to secure an ASP.NET Web API

http://stackoverflow.com/questions/11775594/how-to-secure-an-asp-net-web-api

being conceptually fairly simple. It seems there are many questions like this on SO but no good answers. What is everybody doing..

Complex UI inside ListBoxItem

http://stackoverflow.com/questions/15532639/complex-ui-inside-listboxitem

etc to render the desired content. To your individual questions Is there any way to achieve the same in Windows Forms all while..

TransactionScope automatically escalating to MSDTC on some machines?

http://stackoverflow.com/questions/1690892/transactionscope-automatically-escalating-to-msdtc-on-some-machines

I was hoping for a better answer to http stackoverflow.com questions 506733 but unfortunately it doesn't. Here's a sample bit of..

Multiple Inheritance in C#

http://stackoverflow.com/questions/178333/multiple-inheritance-in-c-sharp

source more complex MI is a useful concept the un answered questions are ones like What do you do when you have multiple common base..

What's the point of the var keyword?

http://stackoverflow.com/questions/209199/whats-the-point-of-the-var-keyword

share improve this question Update There are two related questions here actually 1. Why do I have to declare variables at all 2...

When to Use Static Classes in C#

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

static classes in an earlier thread http stackoverflow.com questions 205689 class with single method best approach#206481 I used..

Convert webpage to image from ASP.NET

http://stackoverflow.com/questions/2715385/convert-webpage-to-image-from-asp-net

gave me a way to convert BMP to JPG http stackoverflow.com questions 41665 bmp to jpg png in c I simply adapted the code and put..

How do I build a JSON object to send to an AJAX WebService?

http://stackoverflow.com/questions/2737525/how-do-i-build-a-json-object-to-send-to-an-ajax-webservice

easy and based on my previous posts http stackoverflow.com questions 2670147 can i return json from an asmx web service if the contenttype.. is not json 2671583#2671583 and http stackoverflow.com questions 2651091 jquery ajax call to httpget webmethod c not working..

How do I find out which process is locking a file using .NET?

http://stackoverflow.com/questions/317071/how-do-i-find-out-which-process-is-locking-a-file-using-net

I'd really appreciate the help. Update Links to similar questions How does one figure out what process locked a file using c#..

How To Represent 0.1 In Floating Point Arithmetic And Decimal

http://stackoverflow.com/questions/3448777/how-to-represent-0-1-in-floating-point-arithmetic-and-decimal

SO for people answering why doesn't 0.1 0.1 0.1 0.3 type questions The 0.5 example is substantially easier. It's represented as..

Performance differences between debug and release builds

http://stackoverflow.com/questions/4043821/performance-differences-between-debug-and-release-builds

and Release have the Optimize code checked of. So my questions is actually twofold 1 Are there much performance differences..

Best practices for exception management in Java or C#

http://stackoverflow.com/questions/409563/best-practices-for-exception-management-in-java-or-c-sharp

exception all the way up a call stack . In summary of key questions Is it okay to just catch exceptions but not bubble them up or.. is successful or not. From this comment it brings up some questions to think about when dealing with exceptions What is the point.. the latter is the default in both Java and C# As for your questions You should only catch exceptions that you can actually handle...

How do the major C# DI/IoC frameworks compare?

http://stackoverflow.com/questions/4581791/how-do-the-major-c-sharp-di-ioc-frameworks-compare

factors in my choice. Update The resources and duplicate questions cited appear to be out of date can someone with knowledge of..

How can I read the properties of a C# class dynamically?

http://stackoverflow.com/questions/4629/how-can-i-read-the-properties-of-a-c-sharp-class-dynamically

alternatives exists. Edit Well that teaches me to read the questions thoroughly first. Yes reflection would be able to give you some..

Replacing .NET WebBrowser control with a better browser, like Chrome?

http://stackoverflow.com/questions/790542/replacing-net-webbrowser-control-with-a-better-browser-like-chrome

you didn't know which is also used by Safari. Here's a few questions that are of the same vein Embedding Webkit with C# Embedding..

C# Finalize/Dispose pattern

http://stackoverflow.com/questions/898828/c-sharp-finalize-dispose-pattern

a while now. And I am still confused about some issues. My questions below I know that you only need a finalizer if you are disposing..

C# 3.0 auto-properties - useful or not?

http://stackoverflow.com/questions/9304/c-sharp-3-0-auto-properties-useful-or-not

get set I know this is more a philosophical subjective questions but is there any reason to use these auto properties except..

Practical usage of virtual functions in c#

http://stackoverflow.com/questions/1062102/practical-usage-of-virtual-functions-in-c-sharp

Console.WriteLine Area of Cylinder 0 F2 l.Area Edit Questions in comment If I don't use virtual keyword in base class will..

Calling C# from C++, Reverse P/Invoke, Mixed Mode DLLs and C++/CLI

http://stackoverflow.com/questions/1068762/calling-c-sharp-from-c-reverse-p-invoke-mixed-mode-dlls-and-c-cli

via a reference . Call the c cli code from native c . Questions Is this correct Is the DLL created at step 2 known as a mixed..

How to produce non-sequential prefix collection indices with MVC HTML Editor templates?

http://stackoverflow.com/questions/11267354/how-to-produce-non-sequential-prefix-collection-indices-with-mvc-html-editor-tem

looking to achieve is as follows I'd like to able to edit Questions and their containing Answer Choices while being able to dynamically.. Answer Choices while being able to dynamically add remove Questions Answer Choices from the page. Ideally the HtmlFieldPrefix for..

Get all associate/composite objects inside an object (in Abstract way)

http://stackoverflow.com/questions/11470037/get-all-associate-composite-objects-inside-an-object-in-abstract-way

it using the knowledge about the existing types. Questions 1 How to implement this function in a abstract way without knowing..

How to detect when application terminates?

http://stackoverflow.com/questions/1372123/how-to-detect-when-application-terminates

by MbUnit AppDomain.CurrentDomain.DomainUnload Finalizers Questions Are my interpretations findings correct Do you know of more..

C#: Oracle Data Type Equivalence with OracleDbType

http://stackoverflow.com/questions/1583150/c-oracle-data-type-equivalence-with-oracledbtype

but I am not sure which one to use for certain types. Questions What is the equivalent Oracle PL SQL data type for each enumerated..

What is an MvcHtmlString and when should I use it?

http://stackoverflow.com/questions/2293357/what-is-an-mvchtmlstring-and-when-should-i-use-it

online of custom helpers just return a regular string. Questions What is an MvcHtmlString When should I choose MvcHtmlString..

Default string initialization: NULL or Empty? [closed]

http://stackoverflow.com/questions/265875/default-string-initialization-null-or-empty

rather than NULL to represent no value. Related Questions In C# should I use string.Empty or String.Empty or œâ€ What is..

Linq to XML - update/alter the nodes of an XML Document

http://stackoverflow.com/questions/331502/linq-to-xml-update-alter-the-nodes-of-an-xml-document

XML update alter the nodes of an XML Document I've got 2 Questions 1. I've sarted working around with Linq to XML and i'm wondering..

Create Bitmap from a byte array of pixel data

http://stackoverflow.com/questions/6782489/create-bitmap-from-a-byte-array-of-pixel-data

Prints Color after Color A 255 R 255 G 255 B 255 Questions Is it safe to do create a bitmap from a byte array managed memory..

Customizing a TabControl for the Closing of Individual Tabs

http://stackoverflow.com/questions/803540/customizing-a-tabcontrol-for-the-closing-of-individual-tabs

will contain a layout defined by a user control. My Questions are How can I allow the user to then close one of the tabs that..

Big smart ViewModels, dumb Views, and any model, the best MVVM approach?

http://stackoverflow.com/questions/857820/big-smart-viewmodels-dumb-views-and-any-model-the-best-mvvm-approach

so that he can adjust the design based on those extremes. Questions I'm a bit surprised that I even have to put a timer in my ViewModel..

Difference between association, aggregation and composition

http://stackoverflow.com/questions/885937/difference-between-association-aggregation-and-composition

delete. Let ™s take another example relationship between Questions and options. Single questions can have multiple options and..

ServiceStack.Net Redis: Storing Related Objects vs. Related Object Ids

http://stackoverflow.com/questions/8914349/servicestack-net-redis-storing-related-objects-vs-related-object-ids

Redis StackOverflow demo where the relationship of Users Questions and Users Answers is stored in idx user q UserId QuestionId1..

Is there any definitive documentation on writing software installers?

http://stackoverflow.com/questions/923384/is-there-any-definitive-documentation-on-writing-software-installers

the book mentioned above you'll be well in over your head. Questions from those who don't understand the Windows Installer concepts..

Get int value from enum

http://stackoverflow.com/questions/943398/get-int-value-from-enum

int value from enum I have a class called Questions in this class is an enum called question which looks like this... 4 NumberOfServers 5 TopBusinessConcern 6 In the Questions class I have a get int foo function that returns a Questions.. class I have a get int foo function that returns a Questions object for that foo . Is there an easy way to get the integer..

Simplify Overriding Equals(), GetHashCode() in C# for Better Maintainability

http://stackoverflow.com/questions/9707918/simplify-overriding-equals-gethashcode-in-c-sharp-for-better-maintainabilit

MyContainedClass.GetHashValue ^ hashOfMyCollectionProp My Questions Is the implementation pattern sound Is ^ adequate given that..