I have got a question concerning Firefox debugging tools. The debugging tools of Google Chrome (the ones called by pressing F12) offer the possibility to search the html of a loaded site (elements -> search).
As this seems not to be possible with Firefox, I'd like to ask yous whether there...
I am using VS 2015, and I have written both a dummy test method and a dummy test code to try hwow it is possible to make sure that an exception is actually thrown by the code.
private void calculate() {
try {
int[] ia = new int[1];
ia[0] = 1...
I intend to check for duplicate objects contained in a list, and I have planned to use Linq for this purpose. I would like to illustrate how I achieve checking for duplicates by using student objects which have a first name, a second name as well as an age.
Here you can see the solution...
I have got a simple XmlReader with the path to my xml-file ans a settings object as constructor arguments. When executing the code, the debugger always tells me that "r" does not exist in the current context. How can this be?
XmlReader r = XmlReader.Create(@"C:\Users\<me>\Desktop\test.xml"...
I have grappled with WPF-applications, and there is one thing that I could not glean from the documentation:
If I have a WPF-Window with a Combo Box „comboBoxCars“ where the user can select, say some cars. I thereafter added a button „clearAll“, and as soon as that button is clicked, the...
I have a string entry as follows: inputString="2;2" which I match against a regular expression.
inputString="2;2";
Regex regex = new Regex(@"\b[0-9]*\.*[0-9]+$");
Match match = regex.Match(inputString);
The problem is: it seems to match inspite of the fact that "2;2" ought not to match since...
I have written a small console application - I want to read in some strings which I parse as doubles. After the user pushed "r", the first double I add to a generic List<Double> is printed out.
My question is the following one - even though I make a typecast, for example if I enter 2.2 as the...
I created a directory “PSScripts“ on my PC – there I wanted to do some powershell stuff. I likewise created a file called “test.ps“ where I wanted to do some coding stuff. I set the programme supposed to open all files with the .ps-extension to powershell, and naively I thought that nothing...
As I am learning C#, I have just written a programme which has the goal to read an integer in order to do prime factorization with it. So if it reads 49, the output is supposed to be 7 7. If it reads 8, the output is supposed to be 2 2 2
Here it is:
using System;
using...
I have developed a Windows Service, and it will be incumbent on me to develop it further. Haplessly, a great obstacle for this is the fact that it does not appear in the service list after services.msc is called even though installation works quite finde with InstallUtils.exe.
The main-class...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.