I want to know what to use in C# to format my output in my console window I tried to use \t but it did not work  I know there is printf in C to format my output  check this image
Is there something similar to sprintf() in C#?  I would for instance like to convert an integer to a 2-byte byte-array.  Something like:  int number = 17; byte[] s = sprintf("%2c", number);
. While the reasons for his doing this are not yet public, this is a real loss of a valuable service. Does anyone know of similar services available to the general public?  Edit:  is definitely relevant, but that approach is more appropriate for finding top journals rather than identifying bottom ones. I.e., following that method would probably exclude lots of valid, lower-tier journals. Are there any approaches to easily identifying a predatory publisher? >Prove that $\frac d {dx} x^n=nx^{n-1}$ for all $n \in \mathbb R$. Prove that $\frac d {dx} x^n=nx^{n-1}$ for all $n \in \mathbb R$.   I saw some proof of $\frac d {dx} x^n=nx^{n-1}$ using binomial theorem, which is only available for $n \in\mathbb N$. Do anyone have the proof of $\frac d {dx} x^n=nx^{n-1}$ for all real $n$? Thank you. Perhaps this is trivial: how does one prove that the work done by a homogeneous gravitational field on a system of particles is equal to the work done on a point mass with the total mass of the system, located at the center of mass of the system. In my D&amp;D 5e campaign one of the PCs who's a wood elf started dating a dark elf, and as a result she got pregnant and she is about to give birth. One of the other players had their PC die and he is considering playing as the child of the couple.  My question is, which race is the child going to be? Evenly spaced menu items on Toolbar Gray cone obscuring/clipping the 3D Viewport When looking at my objects in 3d view I'm seeing a gray cone that seems to be hiding other objects.   Can anyone help me turn this off and explain what it is please.  Screenshots attached. In the Tiny Tina DLC "The Beard Makes the Man" quest, the objectives are (1) Crush five drunk dwarves, (2) Pick up five beards, and (3) Get five dwarves drunk. (The last one's optional.) I found the miner dwarves in the mine on the minimap, but they won't follow me into the crusher machine. How do I lure them? Does it have to do with getting them drunk, and how can I do that with no alcohol around? I thought getting drunk was optional? Identify this story about a quickly healing woman Years ago I read a short story about a woman trying to commit suicide. However, because she had a extremely high rate of healing, her wounds were never fatal. The story ends with her being in the morgue after her heart was taken out for transplantation. Before a new heart could grow she was incinerated. The person who received her heart received the quick healing as well.  Does anyone know this story? Understanding DNA match of 1,723 cM I have a DNA match of 1,723 cM with a male 6 years younger than me. His father is one of a twin, could my match be not my half-sibling but my 1st cousin. When should I use "a" versus "an" in front of a word beginning with the letter h? How do I set my level, unlocked weapon equip slots and playthrough mode? How can I take shallow depth of field photos with a point-and-shoot camera? How do you prevent an ENTER key press from submitting a form in a web-based application? Does the command pwd in a shell script output the directory the shell script is in? How to correctly enable Desktop Cube in Unity 3D? I have read several questions regarding how to fix an already enabled desktop cube or the problems it had in 11.04. But in 11.10, how can I correctly enable desktop cube in Unity 3D? I've never really got how chmod worked up until today. I followed a tutorial that explained a big deal to me.   For example, I've read that you've got three different permission groups:   owner (u) group (g) everyone (o)   Based on these three groups, I now know that:   If the file is owned by the user, the user permissions determine the access. If the group of the file is the same as the user's group, the group permission determine the access. If the user is not the file owner, and is not in the group, then the other permission is used.   I've also learned that you've got the following permissions:   read (r) write (w) execute (x)   I created a directory to test my newly acquired knowledge:  mkdir test   Then I did some tests:  chmod u+rwx test/ # drwx------ chmod g+rx test/ # drwxr-x--- chmod u-x test/ # drw-r-x---   After fooling around for some time I think I finally got the hang of chmod and the way you set permission using this command.    But...  I still have a few questions:   What does the d at the start stand for? What's the name and use of the containing slot and what other values can it hold? How can I set and unset it? What is the value for this d? (As you only have 7=4+2+1 7=4+2+1 7=4+2+1) Why do people sometimes use 0777 instead of 777 to set their permissions?   But as I shouldn't be asking multiple questions, I'll try to ask it in one question.  In UNIX based system such as all Linux distributions, concerning the permissions, what does the first part (d) stand for and what's the use for this part of the permissions? I was reading a textbook. I found that it was mentioned the speed of sound increases with increase in temperature. But sound is a mechanical wave, and it travels faster when molecules are closer.   But an increase in temperature will draw molecules away from each other, and then accordingly the speed of sound should be slower. How is it possible that the speed of sound increases if temperature increases? What is the relation of speed of sound and temperature? Rejecting a PhD offer after having accepted it. Advice? I have accepted a PhD offer from a very good university to do a project very close to my interests. I have told the project supervisor I accept it. In the meanwhile I have managed to secure a PhD offer from another 2 universities much better in world rankings and with better research groups and better faculty. Additionally these 2 universities do research exactly on what I want to devote my PhD research.  My only commitment to the first university is a mail confirming I accept. Nothing else. I understand declining the offer after already having accepted it is quite dishonest but it is a huge decision that will affect my future in a very significant level.   I would like your opinion and I would also like to ask for possible consequences of such an action. As far a postdocs concerned, in the first university there is no chance I ever get a postdoc since they do not actually do research on my area (except for the prospective supervisor and even he not as much).  UPDATE I have decided to do as I was afraid to. I have decided to choose a different university than the first one that I have already accepted the offer. My offer acceptance included:    An online "I accept" statement. An e-mail I sent stating "I accept the scholarship and this University is my first option"   I do not have any legal commitments since I have not signed anything. The supervisor of the first university though is really nice to me and continuously was sending me mails. How do I very nicely tell her I will not be joining in the end? Additionally the place I will go in the end will be for research in Mathematics and not Physics. Can I use this as a part of a sensical excuse?  WHAT I HAVE CHOSEN AND WHAT THE CONSEQUENCES WERE  I think that I should let people, especially other beginning grad students know what happened with my case. I have chosen to nicely tell the first university I got accepted that I will not be attending and will not be pursuing a PhD there since I decided I have different research interests (which is true). I had applied there in the first place since I was not sure what I wanted to do and because it was a nice program. Despite that, I got an offer from a World top university to work on 100% my research interests. I explained this to them, the first uni, and they happily let me go and wished me good luck, especially the supervisor who faught a lot secure me funding. I was lucky. What is the distance a creature or player can travel if they have multiple types of movement speeds? I'm looking for the antonym of -cide (as in suicide, pesticide, etc.). Essentially the ending to words that would mean "to create or embrace".