Question: I'm trying to create confirmation boxes after clicking to "Delete This" links. 

I can do this with the use of `onClick` event. However, I read that this is not cool. So, I found a cool library to make confirmation boxes for me. It's called Bootbox, but I guess that does not matter. 

This is what I did (pasted, actually): 

I got a link like this: 

```
<a class="confirm" href=#>Delete Record|</a>

```

This is the javascript code to handle clicking events for this anchor: 

```
$(document).on("click", ".confirm", function(e) {
  bootbox.confirm("?", function(result) {
    console.log(result);
  }); 
});

```

I can get the user input like this. However, I don't know how to let user go to delete page if he/she clicked on Yes, or do nothing when he/she clicked No. 

What's the best way to do this?

Answer: 
`Console.WriteLine` will show the output vertically 

try this instead 

```
        Console.Write("{0} ", array[i]); //<<< display orgininal value
        array[i] *= 2;
         //here I use = to  separate the output put you can use any other string you want 
        Console.Write(" = {0}", array[i])

```
Use `Console.Write()` instead of `Console.WriteLine()`