In my program I need to create a dll file in run-time and need to save it in a specific file location. when i create this dll file in run-time i need to pass a parameter and that parameter will be stored inside dll file and automatically it will copy into specific location. How can i do it with c#. need some guide. thanks.
Currently I have some code that is being generated dynamically.  In other words, a C# .cs file is created dynamically by the program, and the intention is to include this C# file in another project.  The challenge is that I would like to generate a .DLL file instead of generating a C# .cs file so that it could be referenced by any kind of .NET application (not only C#) and therefore be more useful.
When is an Integer a Rational Number, and are All Ratios Rational, Even $\frac{\sqrt{7}}{2}$? $$\Bbb{Q} = \left\{\frac ab \mid \text{$a$ and $b$ are integers and $b \ne 0$} \right\}$$ In other words, a rational number is a number that can be written as one integer over another. For an integer, the denominator is $1$ in that case. For example, $5$ can be written as $\dfrac 51$.  Is $5$ a rational number? Or is $\dfrac 51$  a rational number? I'm not able to figure out what the definition is actually saying. What are the numbers that cannot be written as one integer over another?  Irrational numbers are the numbers that cannot be written as one integer over another. Roots of numbers that are not perfect squares are examples of irrational numbers.  However, what is this then: $\dfrac {\sqrt 7} {2}$? I'm facing this frustrating "feature" that I can't seem to remedy; when I duplicate an object (and now, even when I create two completely new objects), their transformations/scaling is synchronized. This is extremely annoying when trying to use any sort of transformation keyboard shortcut.  It should be noted by going to the properties menu (N) and manually setting the properties works just fine.  For instance, here is just the camera selected (trust me, I made sure):   And when I try to transform by clicking+dragging on the X axis OR by hitting G->X, this happens:   They are not grouped (verified by going to the Groups list up in the Scene panel) and they do not have parents (verified by going to Object->Relations).  I have tried the unlink command as well, to no avail.  I have seriously run out of options; what did I change to have my G->X shortcuts transform multiple objects? It seems completely at random, too; certain objects seemed to be "linked" to other random objects, and this "linking" is guaranteed when duplicating even when I do a non-linking duplicate (Shift+D).  What gives? The Problem For a small mass a distance $R_i$ away from the center of the Earth, how long would it take for the object to fall to the surface of the Earth, assuming that the only force acting upon the object is the Earth's gravitational force?  Relevant Information The following discussion seems to have solved exactly the same problem:   However, upon working out the mathematics, I'm not exactly sure how to evaluate the constant of integration.   A Partial Solution $$ F=\frac {-GMm}{s^2} $$ $$ a=\frac {-GM}{s^2} $$ $$ \frac {dv}{dt} = \frac {-GM}{s^2} $$ Multiplying by $v$ and then integrating by $dt$ on both sides, we have $$\frac {1}{2} v^2=\frac {GM}{s} +c_1$$ where $c_1$ is a constant of integration. Substituting initial conditions of $v=0, s=R$, we have $$\frac {1}{2} v^2=GM(\frac {1}{s}-\frac{1}{R})$$  At this point of time, when I use Wolfram Alpha, I get  $$c_2+\sqrt{\frac{2}{R}}t=\frac{\sqrt{s}(s-R)+R\sqrt{R-s}\times{\tan^{-1}(\sqrt{\frac{s}{R-s}})}}{\sqrt{GM(R-s)}}$$  where $c_2$ is a constant of integration. Substituting initial conditions of s=R, t=0, we find that the term $$\tan^{-1}(\sqrt{\frac{s}{R-s}})$$ is undefined. At this point, I'm stuck. Any ideas on where I've made the mistake here?  (For those interested, this question was inspired by the Greek myth which states that a bronze hammer dropped from heaven would take 9 days to hit the Earth and would reach on the tenth). When needing to ask a professor about something important and potentially delicate, what is an appropriate way to phrase the question or write the email?  Examples include:   Requesting a recommendation letter Asking for exceptions to policy (e.g., ignoring a course prerequisite, rescheduling an exam) Asking if you can do research with them, join a group, get into a program Scheduling a meeting, exam, or defense Letting them know about a change of plans Letting them know about a life event affecting your work or studies (e.g., wedding, funeral, sickness, vacation) I have seen many folks doing this  concluding that shadow from point A on the Moon can travel to point B on the Moon faster than light.  What I fail to understand here (and I am sure I am wrong), is nothing can travel faster than light. I also read about Relativity where Einstein stated that every event happening for you depends on how fast the light gets from where the event is happening to you.  This is my particular problem with this Moon shadow experiment. You cannot make a shadow travel faster than light, because in order for the "disappearance" of light to get to the Moon, it has to travel at light speed.  Here is one way to understand my point. Consider we shine a flashlight on Moon, like the guy in the linked video did, we move the finger across the face of the flashlight, before we moved the finger it was casting the shadow at Point A on Moon, after we finish moving our finger, the shadow is at Point B on the Moon.  When the finger reaches the end of it's moving length, the light waves that have left the flashlight before the finger reached there will have to hit Point B and it will take them a second and a half to get there, and another second and half for us to see that shadow on point B, which makes it 3 seconds + finger moving time for us to actually see the shadow at point B. That means shadow traveled (say) across the diameter of the Moon in 3 seconds.   So. about 3000 Km in ~3 seconds make it 1000 Km per seconds which is very tiny compared to the speed of light. How can these experiments conclude that Shadow could be made to travel faster than light? What is the obvious clue that I am missing here? How to fix 'android.os.NetworkOnMainThreadException'? Evaluate the integral $\int_0^{2a}\int_0^\sqrt{2ax-x^2}\frac{\phi'(y)(x^2+y^2)x dxdy}{\sqrt{4a^2x^2-(x^2+y^2)^2}}$ Change the order of integration in:  $$\int_0^{2a}\int_0^\sqrt{2ax-x^2}\frac{\phi'(y)(x^2+y^2)x }{\sqrt{4a^2x^2-(x^2+y^2)^2}}dxdy$$ and hence evaluate it.    I changed the order of integration and got the limits $y=0$ to $a$ and $x=a-\sqrt{a^2-y^2}$ to $a+\sqrt{a^2-y^2}$. I then tried changing to polar coordinates, but it is only making the integrand more complex. Can anyone provide me with (or point me to) real life gravitational lensing data that I can plug in to the first equation on this page (the standard lensing equation):   together with the luminous mass and distance to the galaxy(s).  I've looked for papers online and have not found any simple data that can be readily plugged in to the equation (I am not familiar with the details of how exactly the lensing is measured and have gotten lost in the mountains of data in the papers).  Thanks Fast way of finding lines in one file that are not in another? How to remap an existing keybinding in Zathura Why does TeX prefer an overfull box to hyphenating here? LSOpenURLsWithRole() failed with error -10810 - Downloaded app does not start I'm trying to run an application downloaded from the internet (e.g., Jabref) but it seems that it fails silently. When I try to open it by double clicking it, nothing happens. When I use the terminal I get the following message:     LSOpenURLsWithRole() failed with error -10810 for the file .../xxxx.app   I tried several suggestions that I found here like changing permissions and modifying the Info.plist file, but nothing works.  Because it's a Java application, I tried to run it through terminal using      java -cp "CLASSPATH" MAINCLASS    and it works fine.  Just to mention that I get this error not only with this app, but for a few other applications.  Thanks in advance. Install Ubuntu, you can not continue Encopresis: how can we encourage our child to clean himself or ask for help immediately instead of ignoring the dirty underwear? Cauchy-Product of non-absolutely convergent series While grading some basic coursework on analysis, I read an argument, that a Cauchy product of two series that converge but not absolutely can never converge i.e. if $\sum a_n$, $\sum b_n$ converge but not absolutely, the series $\sum c_n$ with $$c_n= \sum_{k=0}^n a_{n-k}b_k$$ diverges.  Although we didn't have any theorem in the course stating something like this, it made me wonder if it was true. How to explicitly discard an out argument? How can I abort a running JDBC transaction? Is there a way to prematurely abort a transaction? Say, I have sent a command to the database which runs five minutes and after four, I want to abort it.  Does JDBC define a way to send a "stop whatever you are doing on this connection" signal to the DB? (This is on NT based Windows like 2000, XP, Vista, 7)  On the command-line, the percentage characters are ignored:  wget "http://www.justitie.nl/images/Handleiding%20voor%20verwerkers%20persoonsgegevens_tcm34-3940.pdf"   So it correctly downloads this file (each %20 becomes a space):  "http://www.justitie.nl/images/Handleiding voor verwerkers persoonsgegevens_tcm34-3940.pdf"   But inside a batchfile, all the %20 are being interpreted as expanding parameter 2 (which is empty) resulting in this file to get downloaded (each %20 becomes 0):  "http://www.justitie.nl/images/Handleiding0voor0verwerkers0persoonsgegevens_tcm34-3940.pdf"   Is there a way to circumvent the percentage parameter expansion?  --jeroen The easiest thing to do is [to] call for a taxi Is it mandatory to have published papers while applying for PhD? I've heard from people saying that while applying for PhD, you need to have past experience in researching something and should have international publications. I was like more concentrated towards practical experience and have't had any publications. If I am aspiring to do PhD and want to apply, it would be impossible if such a criteria exists!