I think you need to revisit your computer programming or computer science lessons/notes. Classes are meant to represent objects that share common behaviors and attributes. Instances of a class object will distinguish themselves from other instances of the class by having varying values for those...
The question mark is not an operator in that context. It is an annotation indicating that a null reference to a List<T> is valid. It is syntactic sugar for Nullable<List<T>>.
It is the same as the case of a int? is basically Nullable<int>.
Is your intent to fill out the UI form, or to be able to submit the form with information as if the user filled out the form and hit the submit button?
Depending on the web UI code/framework, you might be able to pre-fill some of the form fields so that when the page is displayed, then the...
It's not clear why this is a C# question. Sounds more like a HTML and/or Selenium issue.
What exception are you getting?
There is more than one way to get references to elements using Selenium than just using IDs. For example, you can use relative paths, just like CSS uses relative paths.
Why...
That error has nothing to do with the PythonList.
That error has something to do with the "Calculator.py" Python script. The exception should have additional details like which line number or near which token. Any which way, that is a Python issue. This is a C# forum. You don't go to your...
Interesting, but it looks like you are teaching just the fluffy GUI parts and are completely dependent on your Jamesnet WPF package. Someone who truly wants to learn how to create WPF custom controls needs to learn all the magic that you have in your Jamesnet, rather than how to use the magic in...
I am assuming that you had installed IronPython 3.4.1. It looks like the List class has been renamed to PythonList.
Or you could go back to IronPython 2.7.12.
As an aside, if you can get the user to input the hex values without spaces or commas, then Convert.FromHexString() is another possible option.
Sample usage:
foreach(byte b in Convert.FromHexString("0BADF00D"))
Console.WriteLine("{0:X2}", b);
You can play with it some more with this .NET...
Yes, it would affect your app. The more memory you are holding on to, the more impact it would on the working set of your application. Depending on how much true physical RAM your machine has, and what other applications are running on the machine and their corresponding memory usage, the OS may...
Great suggestions. Looking at the screenshots, they still look like they require savvy users who know what they are doing. It's not something that you just give to your grandma and let her figure out on her own (unless she was a computer scientist or engineer).
...Directory.Create(folder_name)
create CSV file in folder_name
let table_name = $"Claims_{suffix}"
let query = $"SELECT * FROM {table_name}"
let command = new Command(query, ...)
let dataReader = command.ExecuteQuery()
while (dataReader.Read())
add row to CSV file
ClosedXML let's you access rows and cells directly. Yes, it maybe convenient to just pass in a DataTable to ClosedXML to have it convert those into cells, but if you are looking for efficiency, then every extra bit of code you do not run, and every extra allocation that you do not make is one...
Most people just use a report generator like Crystal Reports, but it does require that the user be savvy enough to be able to use a report generator. Those who are not savvy enough will have to depend of someone else to make pre-canned reports for them.
On the surface the description "choose...
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.