unity csharp set object tag

Code Example - unity csharp set object tag

                
                        gameObject.tag = "new tag";