I am a beginner in asp.net and I have encountered these following statements

Statement 1

```
ViewState["clicks"] = 5;

```

Statement 2

```
ViewState["clicks"] = (int)ViewState["clicks"] + 1;

```

My doubt is If I am able to directly assign int value...Why do I need to typecast when I am incrementing the value in viewstate variable?
Thanks in advance.......