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: 
Use `Console.Write()` instead of `Console.WriteLine()`
in case like this I always used to use String.Join() method. 

```
int[] A = { -2, 5, -1, 9, -6, 23, 67, 1, -8, 7, -3, 90 };

Console.WriteLine("\n=====================\n");
Changes(A); //<<< original index value
Console.WriteLine("\nEvery Value gets doubled");

Changes(A); //<<< new changes

static void Changes(int[] array) //<<<<<<<< methods
{
    Console.WriteLine("\n=====================\n");
    Console.WriteLine("{0}", String.Join(", ", array)); //<<< display orgininal values

    for (int i = 0; i < array.Length; i++)
      array[i] *= 2;

    Console.WriteLine("{0}", String.Join(", ", array)); // <<new values
    Console.WriteLine("\n=====================\n");
}

```