What i'm trying to do is create a new model that will have certain features:  public class GenericGoal {     public int _id { get; set; }     public List&lt;String&gt; Type_of_Goal { get; set; }     public DateTime Date { get; set; } }   my quick and small question would be, how would I prepopulate the Type_of_goal field?
How do you give a C# auto-property an initial value?  I either use the constructor, or revert to the old syntax.    Using the Constructor:  class Person  {     public Person()     {         Name = "Initial Name";     }     public string Name { get; set; } }   Using normal property syntax  (with an initial value)  private string name = "Initial Name"; public string Name  {     get      {         return name;     }     set     {         name = value;     } }   Is there a better way?
How to remove app which is greyed out, can't be deleted, won't open and doesn't appear in apps list? I have this app with a greyed out icon which I'm trying to delete.    I tap and hold, and it asks me if I want to delete it and its data. I confirm and nothing happens.  I try to open it and nothing happens.  I go to Settings>General>Usage and it's not in the list.  I reboot the device and it's still here.  Is there another way to force deletion of this (ghost) app? Singular or plural "set"? I'm having some issues with a sentence that is part of the purpose in a report that I'm writing. I'm not sure if the word "communicate" (in bold) should be singular or plural.  The applications in the "set" will communicate with each other, not with other "sets".     The purpose of this report is to develop a sample set of applications   that communicates between services on the internet, mobile devices   and a central processing unit in a motor vehicle. It was either a short story or a novel. I read it about 20 years ago, and some vague memory of it stuck.  It's set in a future where everyone's allotted role is decided by a series of tests once they reach a certain age. They are then classified into a group which decides what jobs they will do.  Our hero rather controversially gets a perfect score in the tests. Nobody had done that in a long time. and at first he worries about what this might mean. He is sent to work for the mysterious scientists who maintain the computer that runs society. Most people don't know they exist. He is disappointed to learn he has to be their tea boy, and learn a tea making ceremony perfectly.  In the process he learns how to fool the machine, and eventually to circumvent the controls society has placed on him. He makes several visits to an area outside the control of the machine - where people are living in poverty and lawlessness.  Can't remember the author, or the name, just that basic idea, and the fact that early in the book is a very grand "tea ceremony" where he must make the tea perfectly. If $A$ an integral domain contains a field $K$ and $A$ over $K$ is a finite-dimensional vector space, then $A$ is a field. Is there really no way to power a DSLR by USB? Does an unbalanced sample matter when doing logistic regression? Okay, so I think I have a decent enough sample, taking into account the 20:1 rule of thumb: a fairly large sample (N=374) for a total of 7 candidate predictor variables.   My problem is the following: whatever set of predictor variables I use, the classifications never get better than a specificity of 100% and a sensitivity of 0%. However unsatisfactory, this could actually be the best possible result, given the set of candidate predictor variables (from which I can't deviate).   But, I couldn't help but think I could do better, so I noticed that the categories of the dependent variable were quite unevenly balanced, almost 4:1. Could a more balanced subsample improve classifications? Do lure modules and incense cause new pokemon to spawn near you, or existing pokemon to be drawn to you? I have a chromebook series 5. I want to install Ubuntu onto a USB stick. When I downloaded Ubuntu onto my USB stick, it won't start up.  Do I first have to download Ubuntu onto my chromebook hard drive, open Ubuntu and then make USB stick bootable? And then return back to chrome?  Or is there a way to download directly onto USB and make the stick bootable?  I appreciate any help. How to move 100 files from a folder containing thousands? I have a directory with thousands of files. How can I move 100 of the files (any files will do) to another location. Algebra - Solving for three unknowns. Find all possible solutions of $$2^x + 3^y = z^2.$$    My approach.   First I substituted $x = 0$, and got the solution, then for $y = 0$. And for $x &gt;  0$ and $y &gt; 0$ , I just know the Pythagorean triple and got the solution as $(4,2,5)$ and $(4,2,-5)$. Please help me to solve it properly. How do I upgrade an iPhone 4 from iOS 7.1.2 to iOS 8 or 9 Quantum Field Theory from a mathematical point of view Why doesn't Java allow generic subclasses of Throwable? According to the , 3rd edition:        I wish to understand why this decision has been made. What's wrong with generic exceptions?  (As far as I know, generics are simply compile-time syntactic sugar, and they will be translated to Object anyway in the .class files, so effectively declaring a generic class is as if everything in it was an Object. Please correct me if I'm wrong.) Sum of principal minors The "I Get It" Reputation Problem I wrote a question about blocking certain characters in passwords. It became tremendously unpopular, and it seemed like everyone wanted to rain on my parade every day.  Eventually, I "got it," agreed completely with what people were saying to me, and just wanted to withdraw my question so that my reputation didn't slide even further downhill.  Unfortunately, the system is designed such that I can't withdraw my question or redeem myself. Instead, I just get daily reputation attacks. That's a terrible system, and it needs to be changed. How to get apt-cacher-ng to download AND cache packages from Apt HTTPS repositories? Can a bird, previously at earth potential, get electrocuted by landing on a powerline at high-enough voltage due to the initial "equalization charge"? At the voltage levels of typical overhead transmission lines in the US, a bird can land on one and be just fine (as long as it doesn't do something like spread its wings and touch a tree or something else at lower electric potential).  However, what about a hypothetical powerline at much higher voltage (as in tens of megavolts). Could landing on such a powerline fatally-shock the bird even though it does not complete a circuit for sustained current? (Assume that the distance is long enough that electrical arc'ing is impossible.)  NOTE: My understanding of what happens when a bird flies from an earth object to a powerline (please correct me if I'm wrong) is that - upon contacting the wire - its electric potential changes from earth-potential to the powerline's potential. In order for this to happen, there is an initial transfer of electrical energy (i.e. flow of charge i.e. current) from the powerline to the bird which "equalizes" their electric potential, which happens nearly instantaneously. If this is correct, then my question can be restated more generally as "Can an 'equalization charge' such as this result in a fatal shock, if the potential difference that it's equalizing is high enough?" If I wanted to just view, sort, and organize (via tags or folders or both), what programs are geared toward doing this quickly?  I know I could do this in most any photo editor, but it's not ideal for reviewing hundreds of images. I've also seen people use the image previewers built into their computer's OS, but that can't be the best option either.  What program would you suggest instead?  Extra info on the program is appreciated, i.e. OS requirements and cost. How to input a specific Pantone color number in Illustrator? If the dual spaces are isometrically isomorphic are the spaces isomorphic?