---
title: "Discussion on \"Method must have a return type in C# Class\" | Hashnode"
description: "Discussion on \"Method must have a return type in C# Class\". I'm building a Global Hotkey class for my app and I'm getting this: \"Method must have a return type\"."
url: "https://hashnode.com/posts/method-must-have-a-return/6169fce953401f641ba18cd4"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Method must have a return type in C# Class](https://devtipsonline.hashnode.dev/method-must-have-a-return?utm_source=hashnode&utm_medium=feed)

I'm building a Global Hotkey class for my app and I'm getting this: "Method must have a return type".

Oct 15, 2021 · 1 min read · devtipsonline.hashnode.dev  
Read the article

-   [#csharp](https://hashnode.com/tag/csharp)
-   [#array-methods](https://hashnode.com/tag/array-methods)

## Written by

[Jesse Taylor](https://hashnode.com/@JesseTaylorDev)

@JesseTaylorDev

  
[View profile](https://hashnode.com/@JesseTaylorDev)

Dev Tips

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
