Get property of list element in C#
Accessing a property of derived class from the base class in C#
What is the fastest, easiest tool or method to convert text files between character sets?  Specifically, I need to convert from UTF-8 to ISO-8859-15 and vice versa.  Everything goes: one-liners in your favorite scripting language, command-line tools or other utilities for OS, web sites, etc.  Best solutions so far:  On Linux/UNIX/OS X/cygwin:   Gnu  suggested by  is best used as a filter. It seems to be universally available. Example:  $ iconv -f UTF-8 -t ISO-8859-15 in.txt &gt; out.txt   As pointed out by , there is an . Gnu  () suggested by  will convert one or several files in-place. Example:  $ recode UTF8..ISO-8859-15 in.txt   This one uses shorter aliases:  $ recode utf8..l9 in.txt   Recode also supports surfaces which can be used to convert between different line ending types and encodings:  Convert newlines from LF (Unix) to CR-LF (DOS):  $ recode ../CR-LF in.txt   Base64 encode file:  $ recode ../Base64 in.txt   You can also combine them.  Convert a Base64 encoded UTF8 file with Unix line endings to Base64 encoded Latin 1 file with Dos line endings:  $ recode utf8/Base64..l1/CR-LF/Base64 file.txt    On Windows with  ():    PS C:\&gt; gc -en utf8 in.txt | Out-File -en ascii out.txt  (No ISO-8859-15 support though; it says that supported charsets are unicode, utf7, utf8, utf32, ascii, bigendianunicode, default, and oem.)   Edit  Do you mean iso-8859-1 support? Using "String" does this e.g. for vice versa  gc -en string in.txt | Out-File -en utf8 out.txt   Note: The possible enumeration values are "Unknown, String, Unicode, Byte, BigEndianUnicode, UTF8, UTF7, Ascii".   CsCvt -  is another great command line based conversion tool for Windows. Logical or operator not behaving as expected Matrix of Linear Transformation by right multiplication I am trying to solve the following problem:   Let $A$ be an $n\times n$ matrix, and let $V$ denote the space of $n$-dimensional row vectors. What is the matrix of the linear operator ‘‘right multiplication by $A$’’ with respect to the standard basis of $V$?  I am not sure where to begin with this problem. Why is boiling water loud, then quiet? Water in my electric kettle makes the most noise sixty to ninety seconds before the water comes to a full boil. I have been fooled many times by the noisy kettle, only to discover that the water was not yet hot enough for tea. The kettle is only at a full boil after the noise has subsided.    I have noticed the same phenomenon with many other kettles, including conventional kettles on kitchen ranges; it is not a peculiarity of this electric kettle.  Why does the boiling become quieter as the water reaches full boil? How to have colors in Milky-way? Many photos of Milky-way show it in nice colors instead of just the black of sky and white of the stars. Is the key to having those colors in the capturing of the image or in the post processing, or both? Or am I just doing it in a wrong time of year when the visible part of Milky-way is simply not showing color?  Here is a sample photo of how Milky-way looks like in Finland in September:    APS-C sensor camera, 18 mm, 30 sec, f/3.5, ISO 3200 - captured in pitch-black darkness of Finnish countryside, far far away from any citylights, at time when moon was still below visible horizon.  What I'd like to achieve is something like the photo in Vivek's answer to   I've just bought a wireless shutter release for longer bulb exposures, and have plans to build a barn-door tracking mount. But is longer exposure the needed trick, or what is? Do the Faceless Men take more than just a face? Denote by $\mathbb{N}$ the set of natural numbers and by $2^{\mathbb N}$ the set of all subsets of $\mathbb N$. Let $E$ be some subset of $2^{\mathbb N}$ such that for  every pair of elements in $E$, one is a subset of the other. Clearly, $E$ could be countable by considering $E=\big\{\{1,\cdots, n\}, n\in\mathbb N\big\}$. My question is the following: could we find an example that $E$ is uncountable? Many thanks for the answer! Is there a way to force the iPhone to use its own microphone when connected to a Bluetooth speaker? I connect my phone to a Bluetooth speaker to play music. When engage Siri or try to use dictation, the phone wants to use the microphone on the Bluetooth device, which is either too crappy or too far away for it to understand what I am saying.  So, I would like a way to restrict the iPhone to using its own microphone even when connected to a Bluetooth speaker.  I am open to doing this via a setting, buying an app, or jailbreaking or whatever.  Is there a way to do this? Why is there such a big difference between "Size" and "Size on disk"? How can I tell how long (more or less) it will take me to complete a game? Possible Duplicate:          I often want to know how long a game is so that I can decide whether or not to buy it, or even to decide if I've got enough free time available in the near-future to make it worth trying to play and complete over a weekend. Sometimes I even want to know just because I'm getting a little tired of the game and I want to have a sense of whether or not I'm nearing the end, so I can decide whether to tough it out or pack it in.  What are some good ways of determining how long a given game takes to complete, on average? Position an exampleblock in front of content I need to position an example block:  \begin{exampleblock}{}    Proposed and implemented \end{exampleblock}   Without disturbing other frame content. Something like:  -------------------- ------------- -------------------- -------------------------- -----------    --/============\--------- -----|            |-- -----| Proposed   |-------- -----| and        |-------- -----| implemented|------ -----\============/ -------------------- --------------------------    -----------------   Let it overlay the text behind it. And not to be taken into account during layouting.  Update The Claudio Fiandrino's way is not apropriate to me, because, i need an Itemize environment working inside, and it would be great, if block style is the same as theme-style. Question on showing a bijection between $\pi_1(X,x_0)$ and $[S^1, X]$ when X is path connected. I am trying to do this question taken from Hatchers algebraic topology and I am struggling to understand the notation and the concepts.  As far as I know $\pi_1(X,x_0)$ is the set of end point preserving homotopy classes of loops in X based at $x_0$ and a loop is just a path    $f:I \rightarrow X$ with $f(0)=f(1)$. The question says we can regard $\pi_1(X, x_0)$ as the set of basepoint preserving homotopy classes of maps $(S^1, s_0) \rightarrow (X, x_0)$.   This confuses me, does it mean the set of basepoint preserving homotopy class on maps $g:S^1 \rightarrow X$ which map loops in $S^1$ based at $s_0$ to loops in X based at $x_0$?  Then how can $\pi_1(X,x_0)$ be regarded as this set?  If someone could explain this it would be really useful If $p$ is prime, then $(x+y)^p=x^p+y^p$ holds in any field of characteristic $p$. However all the proofs I have seen use induction and some relatively nasty algebra despite how fundamental this fact seems.  What is the nicest, "highest level proof" you know? My iPad mini retina is out of warranty,  I forgot to plug in my iPad after the critical battery warning and it went some minutes following the warning. I was not worried because same thing had happened a few times before and iPad was perfectly okay after charging it. However, this time I remember seeing a flash of blue screen immediately after it went black. Then, I plugged it in an waited for a while and tried starting it. Ever since, it fails to start hanging on the apple logo with white background screen.   I tried to connect to my Mac but nothing showed up in iTunes. I am worried now. Can I troubleshoot this or is it broken and needing repair? Adding Items to the List Using JQuery Mobile in Javascript Suppose $n$ is an even positive integer and $H$ is a subgroup of $\mathbb Z/n \mathbb Z$. Prove that either every element of $H$ is... I can open Thunderbird but as soon as I click on any file thunderbird freezes. Went to tools can see first page of settings but thunderbird freezes.  Ran norton 360 &amp; rebooted too   Went to firefox website to download thunderbird Version 3.1.9 (3) program downloads and then freezes while norton checks for viruses....  Any suggestions? std::thread - "terminate called without an active exception", don't want to 'join' it How do wizards cast spells which appear on their spell list when it has a divine focus component? What does a wizard do to cast a spell which contains a DF component? Take  for example,  Components V, S, DF    A divine focus component is an item of spiritual significance. The divine focus for a cleric or a paladin is a holy symbol appropriate to the character's faith. The divine focus for a druid or a ranger is a sprig of holly, or some other sacred plant. If the Components line includes F/DF or M/DF, the arcane version of the spell has a focus component or a material component (the abbreviation before the slash) and the divine version has a divine focus component (the abbreviation after the slash).  So do wizards have holy/unholy symbols in their spell components pouch or what? When I dock my Windows 7 laptop, I want it to prefer the wired ethernet connection over WiFi.  This is a pretty straightforward thing to do on my Mac - I just reorder my network preferences, and it "does the right thing." I just can't figure out how to achieve the same thing on my Win7 laptop.  So, when I'm docked, it connects to WiFi, and then fails to connect to servers on the local wired network. How do I fix this?