An object-oriented programming language developed by Microsoft that can be used in .NET.
The second sample doesn’t use the delegate, so it’s unnecessary. Delegate allow defining a variable that contains a callback(s). A common case the click event, where you set the click delegate to the callback method.
in your 2nd sample it’s always calling Button1.Focus, but if you wanted the routine to call a settable value it could use the delegate.