thanks for clear answer. i heard that all local variable store on stack. one more question is that if local variable is ref type declared in function and when function will be called then where local variable ref will be stored....in stack or heap. ?
two good question here u highlighted. those are
a) Would an object in a struct be considered a value-type or a reference-type?
b) What about static structs?
c) interface is contract so at all any memory is allocated for interface ?
i am new in WCF. once i was searching code for uploading file to web server by wcf. i found a code which uses message contract for file details. i just do not understand why people use message contract. according to that situation the coder can use data contract only instead of message contract....so why they used message contract is not clear.
here is the link of source code for file upload by wcf. just have a look and tell me can we use data contract for file information instead of message contract. give some few good situation when one has to use message contract instead of data contract. thanks
So for instance, my laptop is connected to a projector via VGA cable, is there a way to control when I want to display the laptop's desktop in the projector? I'm creating an interface in C# wherein if I click a specific button, the projector will display the laptop's desktop. Basically it acts like the Win + P function of windows.
If nothing else works, there is always the simple solution: have a neutral background to your desktop (an image of the presentation name, and your contact details perhaps) and then show a form on the second monitor (maximized) when you want the projector to display. Minimize it when you don't.
The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
Hi can you please help me a number slider puzzle solver code is developed with c # is a 3 * 3 and 4 * 4 with 4 types of algorithms that can be compared with each other (in the discussion of artificial intelligence). Thank you, Jebreil644
I want to simulate Windows Explorer by C# and I write the code,and now I want to add Back and Forward button,the project see the path but I do not know how to go Back or Forward?
thanks for your help